fix: pnpm prune --prod
This commit is contained in:
1
.github/workflows/docker-build-push.yml
vendored
1
.github/workflows/docker-build-push.yml
vendored
@@ -20,7 +20,6 @@ on:
|
||||
env:
|
||||
REGISTRY: ghcr.io
|
||||
IMAGE_NAME: valknarxxx/sexy
|
||||
ERR_PNPM_ABORTED_REMOVE_MODULES_DIR_NO_TTY: false
|
||||
|
||||
jobs:
|
||||
build-and-push:
|
||||
|
||||
@@ -65,7 +65,7 @@ RUN pnpm --filter @sexy.pivoine.art/frontend build
|
||||
RUN pnpm --filter @sexy.pivoine.art/bundle build
|
||||
|
||||
# Prune dev dependencies for production
|
||||
RUN pnpm install --prod --frozen-lockfile
|
||||
RUN pnpm prune --prod
|
||||
|
||||
# ============================================================================
|
||||
# Runner stage - minimal production image
|
||||
|
||||
Reference in New Issue
Block a user