Skip to content

Commit bcc7acb

Browse files
committed
Update Dockerfile
1 parent 2a15648 commit bcc7acb

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

dashboard/Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,9 @@ FROM base AS deps
1111
WORKDIR /app
1212
RUN apk add --no-cache libc6-compat
1313

14-
COPY package*.json ./
15-
RUN npm ci --only=production && \
16-
cp -R node_modules /prod_node_modules
17-
18-
RUN npm ci
14+
COPY package.json ./
15+
# Use npm install for better resilience. Includes devDeps for the builder stage.
16+
RUN npm install
1917

2018
# ── Stage 2: Build ───────────────────────────────────────────────────
2119
FROM base AS builder

0 commit comments

Comments
 (0)