Skip to content

Commit 029503e

Browse files
authored
Update Dockerfile
1 parent 6965335 commit 029503e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@ COPY . .
1515
# Install without scripts
1616
RUN npm ci --omit=dev --ignore-scripts \
1717
# Copy production node_modules aside for later
18-
&& cp -R node_modules prod_node_modules \
19-
# Install all dependencies
20-
&& npm ci \
18+
&& cp -R node_modules prod_node_modules
19+
20+
# Install all dependencies
21+
RUN npm ci \
2122
# Run build steps
2223
&& npm run build
2324

0 commit comments

Comments
 (0)