diff --git a/Dockerfile b/Dockerfile index ad599165..f6aa2351 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,9 @@ COPY --from=builder /app/package.json . COPY --from=builder /app/yarn.lock . COPY --from=builder /app/next.config.js . COPY --from=builder /app/public ./public +COPY --from=builder /app/.next/standalone ./ COPY --from=builder /app/.next/static ./.next/static + COPY entrypoint.sh . RUN apk add --no-cache --upgrade bash diff --git a/next-config.patch b/next-config.patch index ab7706ba..481969ba 100644 --- a/next-config.patch +++ b/next-config.patch @@ -1,4 +1,12 @@ diff --git a/next.config.js b/next.config.js -index 2801090..4b5fabe 100644 +index 4a208ebb..9c716638 100644 --- a/next.config.js +++ b/next.config.js +@@ -1,6 +1,7 @@ + /** @type {import('next').NextConfig} */ + + const nextConfig = { ++ output: 'standalone', + reactStrictMode: true, + images: { + domains: [