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/