diff --git a/.changeset/lovely-parents-wait.md b/.changeset/lovely-parents-wait.md new file mode 100644 index 0000000..c38e157 --- /dev/null +++ b/.changeset/lovely-parents-wait.md @@ -0,0 +1,5 @@ +--- +"@inkathon/frontend": patch +--- + +feat: Fix frontend production build Dockerfile diff --git a/Dockerfile.frontend b/Dockerfile.frontend index c422a9d..1f7355e 100644 --- a/Dockerfile.frontend +++ b/Dockerfile.frontend @@ -32,7 +32,7 @@ RUN pnpm install --offline # Then use pnpm deploy command to prune the dependencies FROM with_all_deps as builder RUN NEXT_BUILD_STANDALONE=true pnpm --filter='*frontend' build \ - && pnpm --filter='*frontend' deploy pruned --prod + && pnpm --filter='*frontend' deploy pruned --prod --force # STAGE 5: Create a clean production image - only take pruned assets FROM node:18-alpine AS runner