From 1342026b4f87b66abb86ec70fa007061359ee92d Mon Sep 17 00:00:00 2001 From: Kunthawat Greethong Date: Tue, 3 Mar 2026 17:50:14 +0700 Subject: [PATCH] fix: Update Dockerfile for Next.js project - Next.js builds to .next/standalone, not dist/ - Use next.config.mjs output: 'standalone' - Copy .next/static for static assets - Copy public folder for static files --- Dockerfile | 1 - 1 file changed, 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2e92df639..a0a49d5b1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,7 +29,6 @@ RUN npm ci --production # Copy built assets from builder COPY --from=builder /app/dist ./dist COPY --from=builder /app/public ./public -COPY --from=builder /app/astro.config.mjs ./ # Expose port EXPOSE 4321