diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 1c3b9bc..40244a9 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -44,7 +44,7 @@ jobs: - name: Lint run: yarn lint - name: Build app and export to ./out - run: EXPORT=1 UNOPTIMIZED=1 yarn build + run: EXPORT=0 UNOPTIMIZED=1 yarn build - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - name: Login to Docker Hub diff --git a/next.config.js b/next.config.js index 3a5ccb6..acabc84 100644 --- a/next.config.js +++ b/next.config.js @@ -54,7 +54,7 @@ const securityHeaders = [ }, ] -const output = process.env.EXPORT ? 'export' : undefined +const output = process.env.EXPORT ? 'export' : 'standalone' const basePath = process.env.BASE_PATH || undefined const unoptimized = process.env.UNOPTIMIZED ? true : undefined