From 04150f41f5e13a1d2c4a34fa1777e43ccb7c227a Mon Sep 17 00:00:00 2001 From: hailin Date: Sun, 22 Feb 2026 06:28:45 -0800 Subject: [PATCH] fix: copy public/ directory in web-admin Dockerfile for static assets Next.js standalone mode does not include the public/ directory automatically. The favicon and logo SVGs were returning 404 because they were not copied to the production image. Co-Authored-By: Claude Opus 4.6 --- it0-web-admin/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/it0-web-admin/Dockerfile b/it0-web-admin/Dockerfile index 1bd70c3..912d0e1 100644 --- a/it0-web-admin/Dockerfile +++ b/it0-web-admin/Dockerfile @@ -25,6 +25,7 @@ ENV NODE_ENV=production # Copy standalone server output (includes node_modules subset) COPY --from=builder /app/.next/standalone ./ COPY --from=builder /app/.next/static ./.next/static +COPY --from=builder /app/public ./public EXPOSE 3000