Use output: 'export' and drop next export step
Browse filesFiles changed (2)
5 unmodified lines678991011125 unmodified linesRUN npm install
COPY ./frontend .RUN npm run build && npx next export outRUN npm run build
FROM python:3.912345678/** @type {import('next').NextConfig} */const nextConfig = { reactStrictMode: true, // Enable static export; `next build` will emit `out/` output: 'export',};
module.exports = nextConfig;Dockerfile+1-1
frontend/next.config.js+2