Files
logbuch/next.config.ts
T
Matthias Giesselmann 7582c64709 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.
2026-07-31 21:52:38 +02:00

28 lines
652 B
TypeScript

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,
serverActions: {
bodySizeLimit: '16mb',
},
},
images: {
formats: ['image/webp'],
deviceSizes: [480, 640, 960, 1200, 1600, 1920],
imageSizes: [96, 160, 240, 320],
minimumCacheTTL: 31536000,
},
}
const withNextIntl = createNextIntlPlugin('./src/i18n/request.ts')
export default withNextIntl(config)