Fix: Ignore scripts during pnpm prune to prevent build failure
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 9s
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 9s
This commit is contained in:
@@ -36,7 +36,7 @@ RUN pnpm ui:install
|
||||
RUN pnpm ui:build
|
||||
|
||||
# Remove devDependencies to reduce size
|
||||
RUN pnpm prune --prod
|
||||
RUN pnpm prune --prod --ignore-scripts
|
||||
|
||||
# Remove .git folder to save space
|
||||
RUN rm -rf .git
|
||||
|
||||
Reference in New Issue
Block a user