mirror of https://github.com/kortix-ai/suna.git
Updated next config to support dynamic deployment
This commit is contained in:
parent
421ae4d66b
commit
9752a9ab0c
|
@ -26,6 +26,7 @@ COPY . .
|
|||
# Next.js collects completely anonymous telemetry data about general usage.
|
||||
# Learn more here: https://nextjs.org/telemetry
|
||||
ENV NEXT_TELEMETRY_DISABLED=1
|
||||
ENV NEXT_OUTPUT=standalone
|
||||
|
||||
RUN \
|
||||
if [ -f yarn.lock ]; then yarn run build; \
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import type { NextConfig } from 'next';
|
||||
|
||||
const nextConfig = (): NextConfig => ({
|
||||
output: 'standalone',
|
||||
output: (process.env.NEXT_OUTPUT as 'standalone') || undefined,
|
||||
});
|
||||
|
||||
export default nextConfig;
|
||||
|
|
Loading…
Reference in New Issue