Copy package-lock.json into frontend runtime stage for npm ci
YesChef/pipeline/head This commit looks good

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Josh Rogers
2026-05-16 00:30:48 -05:00
parent c7ba88f447
commit 6ca6c7d401
+1 -1
View File
@@ -8,7 +8,7 @@ RUN npm run build
FROM node:22-slim
WORKDIR /app
COPY --from=build /app/build .
COPY --from=build /app/package.json .
COPY --from=build /app/package.json /app/package-lock.json ./
RUN npm ci --omit=dev
EXPOSE 3000
ENV PORT=3000