Fix frontend Docker build on arm64

This commit is contained in:
Christian Krakau-Louis
2026-05-18 19:13:55 +02:00
parent 42b18e10a6
commit 1c209ad7bc
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -19,7 +19,8 @@ COPY . .
# Set environment variable for build # Set environment variable for build
ENV NEXT_TELEMETRY_DISABLED=1 ENV NEXT_TELEMETRY_DISABLED=1
RUN npm run build # Turbopack is not supported for this ARM64 Alpine/QEMU build path.
RUN npm run build:docker
# Production image, copy all the files and run next # Production image, copy all the files and run next
FROM base AS runner FROM base AS runner
+1
View File
@@ -5,6 +5,7 @@
"scripts": { "scripts": {
"dev": "next dev", "dev": "next dev",
"build": "next build", "build": "next build",
"build:docker": "next build --webpack",
"start": "next start", "start": "next start",
"lint": "eslint", "lint": "eslint",
"test": "jest", "test": "jest",