From b90defa87287e75e31ba9c594518b6cad74ba719 Mon Sep 17 00:00:00 2001 From: Henry Date: Mon, 16 Jun 2025 22:19:28 +0100 Subject: [PATCH] fix: set workdir --- apps/web/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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