Skip to content

Commit

Permalink
Don't download redundant dependencies when building the image
Browse files Browse the repository at this point in the history
  • Loading branch information
thewilkybarkid committed Jun 19, 2024
1 parent 6b99a89 commit f643f53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ WORKDIR /app
COPY package.json \
package-lock.json \
./
RUN npm ci --ignore-scripts
RUN npm ci --ignore-scripts --production
COPY observablehq.config.js observablehq.config.js
COPY src/ src/
RUN npx observable build
Expand Down

0 comments on commit f643f53

Please sign in to comment.