Revert "Configure nextjs output file tracing"
All checks were successful
continuous-integration/drone/push Build is passing

This reverts commit 63b8c3f5ae.
This commit is contained in:
tobias 2024-06-19 21:53:55 +02:00
parent 63b8c3f5ae
commit 3a8e66dcec
2 changed files with 1 additions and 2 deletions

View File

@ -29,7 +29,7 @@ COPY --from=builder /builder/package.json ./
#COPY --from=builder /builder/node_modules ./node_modules #COPY --from=builder /builder/node_modules ./node_modules
COPY --from=builder /builder/.next/standalone ./.next/standalone/ COPY --from=builder /builder/.next/standalone ./.next/standalone/
COPY --from=builder /builder/.next/static ./.next/standalone/.next/static 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 ./ COPY --from=builder /builder/next.config.mjs ./
FROM runner as server FROM runner as server

View File

@ -7,7 +7,6 @@ const nextConfig = {
reactCompiler: false, reactCompiler: false,
}, },
output: 'standalone', output: 'standalone',
outputFileTracingRoot: path.join(__dirname, '../../'),
env: { env: {
customKey: 'my-value', customKey: 'my-value',
PORT: process.env.PORT, PORT: process.env.PORT,