build(dockerfile): ignore scripts to not run husky install when devdependencies are pruned
This commit is contained in:
@@ -27,7 +27,7 @@ ENV COMMIT_TAG=${COMMIT_TAG}
|
||||
RUN pnpm build
|
||||
|
||||
# remove development dependencies
|
||||
RUN pnpm prune --prod
|
||||
RUN pnpm prune --prod --ignore-scripts
|
||||
|
||||
RUN rm -rf src server .next/cache
|
||||
|
||||
|
||||
Reference in New Issue
Block a user