From 3a8e66dcec75809347f7b7f326c96b246b3fbdff Mon Sep 17 00:00:00 2001 From: tobias Date: Wed, 19 Jun 2024 21:53:55 +0200 Subject: [PATCH] Revert "Configure nextjs output file tracing" This reverts commit 63b8c3f5aebfde28bb86f33ca8aab0dde59a098b. --- Dockerfile | 2 +- next.config.mjs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0092ce1..c3580c9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,7 +29,7 @@ COPY --from=builder /builder/package.json ./ #COPY --from=builder /builder/node_modules ./node_modules COPY --from=builder /builder/.next/standalone ./.next/standalone/ COPY --from=builder /builder/.next/static ./.next/standalone/.next/static -#COPY --from=builder /builder/public ./.next/standalone/.next/public +COPY --from=builder /builder/public ./.next/standalone/.next/public COPY --from=builder /builder/next.config.mjs ./ FROM runner as server diff --git a/next.config.mjs b/next.config.mjs index 02989d7..ff05006 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -7,7 +7,6 @@ const nextConfig = { reactCompiler: false, }, output: 'standalone', - outputFileTracingRoot: path.join(__dirname, '../../'), env: { customKey: 'my-value', PORT: process.env.PORT,