We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f6cfc4 commit a4769c7Copy full SHA for a4769c7
1 file changed
packages/server/dockerfile
@@ -3,8 +3,8 @@ FROM node:20-alpine AS builder
3
4
WORKDIR /app
5
6
-COPY package*.json ./
7
-RUN npm ci
+COPY package.json ./
+RUN npm install
8
9
COPY . .
10
RUN npm run build
@@ -16,8 +16,8 @@ WORKDIR /app
16
17
ENV NODE_ENV=production
18
19
20
-RUN npm ci --only=production && npm cache clean --force
+RUN npm install --omit=dev && npm cache clean --force
21
22
COPY --from=builder /app/dist ./dist
23
0 commit comments