flatten app to repo root and update docker deployment for single-stack runtime

This commit is contained in:
2026-02-24 00:25:03 -05:00
parent 2987ac06fa
commit 168c05cb71
59 changed files with 64 additions and 12 deletions

25
next.config.js Normal file
View File

@@ -0,0 +1,25 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
output: 'standalone',
turbopack: {
root: __dirname
},
env: {
NEXT_PUBLIC_API_URL: process.env.NEXT_PUBLIC_API_URL || ''
},
async headers() {
return [
{
source: '/auth/:path*',
headers: [
{ key: 'Cache-Control', value: 'no-store, no-cache, max-age=0, must-revalidate' },
{ key: 'Pragma', value: 'no-cache' },
{ key: 'Expires', value: '0' }
]
}
];
}
}
module.exports = nextConfig;