Add container build for deployment
Standalone Next output, migration script run on start, storage volume at /app/storage, port 4700. Database connection is created lazily so the image builds without a database.
This commit is contained in:
@@ -2,6 +2,11 @@ import type { NextConfig } from 'next'
|
||||
import createNextIntlPlugin from 'next-intl/plugin'
|
||||
|
||||
const config: NextConfig = {
|
||||
output: 'standalone',
|
||||
outputFileTracingIncludes: {
|
||||
'/api/v1/style-guide': ['./docs/style-guide.md'],
|
||||
'/': ['./node_modules/drizzle-orm/**'],
|
||||
},
|
||||
typedRoutes: true,
|
||||
experimental: {
|
||||
useTypeScriptCli: true,
|
||||
|
||||
Reference in New Issue
Block a user