Skip to content

Commit

Permalink
Ignore scripts for installation
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianRoesner committed Oct 25, 2023
1 parent 8086e44 commit f45848e
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 @@ -7,7 +7,7 @@ ENV APP_VERSION=$COMMIT_SHA
WORKDIR /src
# Required files are whitelisted in dockerignore
COPY . ./
RUN npm ci && npm run build && npm prune --production
RUN npm ci --ignore-scripts && npm run build && npm prune --production

FROM node:18.18.2-alpine3.18

Expand Down

0 comments on commit f45848e

Please sign in to comment.