fix: copy static files to standalone dir

This commit is contained in:
Henry
2025-06-16 21:39:59 +01:00
parent 1c75a948f9
commit 4d48bf140d

View File

@@ -55,6 +55,10 @@ COPY --from=pruner /app/out/full/ .
RUN pnpm build --filter=${PROJECT}
# Copy static files to standalone directory
COPY public .next/standalone/
COPY .next/static .next/standalone/.next/
# 4. Final image - runner stage to run the application
FROM base AS runner
ARG APP_DIRNAME