diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 709405e..1c4c5e9 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -19,7 +19,8 @@ COPY . . # Set environment variable for build 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 FROM base AS runner diff --git a/frontend/package.json b/frontend/package.json index ddcd22c..833fe8f 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -5,6 +5,7 @@ "scripts": { "dev": "next dev", "build": "next build", + "build:docker": "next build --webpack", "start": "next start", "lint": "eslint", "test": "jest",