mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-25 15:55:48 +00:00
update Dockerfile
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@ RUN echo "const config = { output: 'export', images: { unoptimized: true } }; ex
|
|||||||
# Build project (Next.js 15 otomatis static export)
|
# Build project (Next.js 15 otomatis static export)
|
||||||
RUN NEXT_DISABLE_TURBOPACK=1 npx next build
|
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 && \
|
RUN mkdir -p .next/server/app/_next && \
|
||||||
cp -r .next/static .next/server/app/_next/static && \
|
cp -r .next/static .next/server/app/_next/static && \
|
||||||
cp -r public/* .next/server/app/
|
cp -r public/* .next/server/app/
|
||||||
|
|||||||
Reference in New Issue
Block a user