Fix Docker build: Add CI=true env var for pnpm prune command
This commit is contained in:
parent
2426d644bc
commit
b291ee9b94
1 changed files with 1 additions and 0 deletions
|
|
@ -26,6 +26,7 @@ COPY . .
|
|||
RUN pnpm build
|
||||
|
||||
# Remove dev dependencies to reduce image size
|
||||
ENV CI=true
|
||||
RUN pnpm prune --prod
|
||||
|
||||
# Create uploads directory
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue