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 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-02-22 06:28:45 -08:00
parent 2f228e4591
commit 04150f41f5
1 changed files with 1 additions and 0 deletions

View File

@ -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