From 1b640d4b1279e0b438a8ef66b00f0ab1b017b908 Mon Sep 17 00:00:00 2001 From: Chris Anderson Date: Wed, 24 Jun 2026 11:15:48 +0200 Subject: [PATCH] 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 --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f00ab6df..7484c2ad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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)