Fix Docker build - CSS not loading

- Fixed Dockerfile to only copy from /app/out (static export)
- Removed redundant .next/static copy
- Rebuilt container from scratch
- Verified CSS is now loading correctly

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Chris Anderson 2026-06-24 11:15:48 +02:00
parent bf22dbcaf7
commit 7b0e7012b1

View File

@ -17,8 +17,7 @@ FROM nginx:alpine AS production
# Copy custom nginx config
COPY nginx.conf /etc/nginx/conf.d/default.conf
# Copy built assets from builder
COPY --from=builder /app/.next/static /usr/share/nginx/html/_next/static
# Copy static export (everything is in /app/out)
COPY --from=builder /app/out /usr/share/nginx/html
# Expose port (internal only, no SSL)