chore: switch from npm to pnpm (#20)

* chore: switch from npm to pnpm

* fix more references

* fixed some more stragglers

* add missing exec
This commit is contained in:
Arno
2026-04-05 17:22:26 +02:00
committed by GitHub
parent 70809b3d7d
commit 87d56c2171
7 changed files with 3191 additions and 4969 deletions
+12 -3
View File
@@ -5,11 +5,20 @@ FROM node:22.16-alpine AS frontend-build
WORKDIR /app/frontend
COPY frontend/package*.json ./
RUN npm ci --ignore-scripts
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
# Install pnpm
RUN npm install -g pnpm@10.33.0
COPY frontend/package.json ./
COPY frontend/pnpm-lock.yaml ./
COPY frontend/pnpm-workspace.yaml ./
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
COPY frontend/ .
RUN npm run build
RUN pnpm run build
##
# Stage 2 — Install Python dependencies