diff --git a/apps/web/Dockerfile b/apps/web/Dockerfile index 539b30f5..3ee17bd1 100644 --- a/apps/web/Dockerfile +++ b/apps/web/Dockerfile @@ -53,10 +53,11 @@ RUN --mount=type=cache,id=pnpm,target=~/.pnpm-store pnpm install --frozen-lockfi # Copy source code of isolated subworkspace COPY --from=pruner /app/out/full/ . +WORKDIR /app/apps/web RUN pnpm build --filter=${PROJECT} # Copy static files to standalone directory -COPY apps/web/public .next/standalone/ +COPY public .next/standalone/ COPY .next/static .next/standalone/.next/ # 4. Final image - runner stage to run the application