Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
cbaker6 authored Mar 3, 2024
1 parent 6965335 commit 029503e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ COPY . .
# Install without scripts
RUN npm ci --omit=dev --ignore-scripts \
# Copy production node_modules aside for later
&& cp -R node_modules prod_node_modules \
# Install all dependencies
&& npm ci \
&& cp -R node_modules prod_node_modules

# Install all dependencies
RUN npm ci \
# Run build steps
&& npm run build

Expand Down

0 comments on commit 029503e

Please sign in to comment.