Skip to content

Commit 3da078f

Browse files
authored
Merge pull request #67 from scio-labs/feat/improve-frontend-production-dockerfile
feat: Improve frontend production build Dockerfile
2 parents f882bd5 + 503c07b commit 3da078f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/lovely-parents-wait.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@inkathon/frontend": patch
3+
---
4+
5+
feat: Fix frontend production build Dockerfile

Dockerfile.frontend

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ RUN pnpm install --offline
3232
# Then use pnpm deploy command to prune the dependencies
3333
FROM with_all_deps as builder
3434
RUN NEXT_BUILD_STANDALONE=true pnpm --filter='*frontend' build \
35-
&& pnpm --filter='*frontend' deploy pruned --prod
35+
&& pnpm --filter='*frontend' deploy pruned --prod --force
3636

3737
# STAGE 5: Create a clean production image - only take pruned assets
3838
FROM node:18-alpine AS runner

0 commit comments

Comments
 (0)