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:
parent
2f228e4591
commit
04150f41f5
|
|
@ -25,6 +25,7 @@ ENV NODE_ENV=production
|
||||||
# Copy standalone server output (includes node_modules subset)
|
# Copy standalone server output (includes node_modules subset)
|
||||||
COPY --from=builder /app/.next/standalone ./
|
COPY --from=builder /app/.next/standalone ./
|
||||||
COPY --from=builder /app/.next/static ./.next/static
|
COPY --from=builder /app/.next/static ./.next/static
|
||||||
|
COPY --from=builder /app/public ./public
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue