fix(web): prepare Vercel build and standalone runtime
This commit is contained in:
parent
a493e83ae4
commit
105ae3493a
@ -35,4 +35,4 @@ COPY --from=builder /app/web/.next/static ./.next/static
|
||||
|
||||
EXPOSE 3045
|
||||
ENV PORT=3045
|
||||
CMD ["node", "server.js"]
|
||||
CMD ["node", "web/server.js"]
|
||||
|
||||
@ -21,8 +21,12 @@ const securityHeaders = [
|
||||
];
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
...(process.env.VERCEL
|
||||
? {}
|
||||
: {
|
||||
output: "standalone",
|
||||
outputFileTracingRoot: path.join(process.cwd(), ".."),
|
||||
}),
|
||||
transpilePackages: [
|
||||
"@bytelyst/api-client",
|
||||
"@bytelyst/blob-client",
|
||||
|
||||
@ -33,6 +33,7 @@
|
||||
"@tiptap/starter-kit": "^2.11.0",
|
||||
"@bytelyst/react-auth": "^0.1.0",
|
||||
"@bytelyst/telemetry-client": "^0.1.0",
|
||||
"@bytelyst/ui": "^0.1.0",
|
||||
"lucide-react": "^0.575.0",
|
||||
"sonner": "^2.0.0",
|
||||
"next": "16.1.6",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user