fixed docker

This commit is contained in:
2026-02-04 14:32:19 +00:00
parent b0ef60ff32
commit 6d271ef65b
2 changed files with 2 additions and 4 deletions

View File

@@ -5,7 +5,7 @@ ENV NEXT_TELEMETRY_DISABLED=1
FROM base AS deps FROM base AS deps
WORKDIR /app WORKDIR /app
COPY package.json package-lock.json ./ COPY package.json package-lock.json ./
RUN npm ci RUN npm ci --include=dev
FROM base AS builder FROM base AS builder
WORKDIR /app WORKDIR /app

View File

@@ -1,9 +1,7 @@
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
const nextConfig = { const nextConfig = {
output: 'standalone', output: 'standalone',
experimental: { serverExternalPackages: ['puppeteer']
serverComponentsExternalPackages: ['puppeteer']
}
} }
module.exports = nextConfig module.exports = nextConfig