From 5125a735e5f80b8b7558d8cee83707ca25979ee4 Mon Sep 17 00:00:00 2001 From: Henry Date: Mon, 16 Jun 2025 22:26:59 +0100 Subject: [PATCH] fix: add logs to debug --- apps/web/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/web/Dockerfile b/apps/web/Dockerfile index 8349e326..fdffa7db 100644 --- a/apps/web/Dockerfile +++ b/apps/web/Dockerfile @@ -53,10 +53,13 @@ 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 -RUN cp -r public .next/standalone/ && cp -r .next/static .next/standalone/.next/ +RUN ls -la && \ + cp -r /app/apps/web/public .next/standalone/ && \ + cp -r .next/static .next/standalone/.next/ # 4. Final image - runner stage to run the application FROM base AS runner