Switched to pnpm

This commit is contained in:
2026-07-23 10:40:33 +02:00
parent 083744203b
commit df2f1b11ea
5 changed files with 1567 additions and 2319 deletions
+5 -3
View File
@@ -2,8 +2,10 @@
FROM node:22-alpine AS build
WORKDIR /app
COPY package*.json ./
RUN npm ci
RUN corepack enable
COPY package.json pnpm-lock.yaml ./
RUN pnpm install --frozen-lockfile
COPY . .
@@ -11,7 +13,7 @@ COPY . .
# For a subpath deploy: docker build --build-arg VITE_BASE=/practice/ .
ARG VITE_BASE=/
ENV VITE_BASE=$VITE_BASE
RUN npm run build
RUN pnpm run build
# --- Serve stage ---------------------------------------------------------------
FROM nginx:alpine