We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0686b1 commit 3b4429cCopy full SHA for 3b4429c
1 file changed
Dockerfile
@@ -5,10 +5,10 @@ ARG NODE_BASE_IMAGE=node:22-alpine@sha256:8094c002d08262dba12645a3b4a15cd6cd627d
5
FROM ${NODE_BASE_IMAGE} AS frontend-builder
6
7
WORKDIR /app/frontend
8
-COPY frontend/package*.json ./
9
-RUN npm ci
+COPY frontend/package.json frontend/pnpm-lock.yaml ./
+RUN corepack enable && pnpm install --frozen-lockfile
10
COPY frontend/ ./
11
-RUN npm run build
+RUN pnpm run build
12
13
# Stage 2: Ruby Build
14
FROM ${RUBY_BASE_IMAGE} AS builder
0 commit comments