From b62427c5f450135f17fff9588e65e7fb79db63fd Mon Sep 17 00:00:00 2001 From: GitLab Deploy Bot Date: Sun, 9 Nov 2025 16:08:22 +0700 Subject: [PATCH] update Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 752dbe35..a3a2e197 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ RUN echo "const config = { output: 'export', images: { unoptimized: true } }; ex # Build project (Next.js 15 otomatis static export) RUN NEXT_DISABLE_TURBOPACK=1 npx next build -# Pastikan folder static tersedia untuk URL _next/static +# Copy static assets dan hasil build agar bisa diakses RUN mkdir -p .next/server/app/_next && \ cp -r .next/static .next/server/app/_next/static && \ cp -r public/* .next/server/app/