Fix local Docker startup for workflow app
This commit is contained in:
@@ -1,12 +1,19 @@
|
||||
const { withWorkflow } = require('workflow/next');
|
||||
const skipBuildTypecheck = process.env.SKIP_NEXT_TYPECHECK_ON_BUILD === 'true';
|
||||
const buildCpus = Number.parseInt(process.env.NEXT_BUILD_CPUS || '', 10);
|
||||
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
reactStrictMode: true,
|
||||
output: 'standalone',
|
||||
serverExternalPackages: ['bun:sqlite'],
|
||||
typescript: {
|
||||
ignoreBuildErrors: skipBuildTypecheck
|
||||
},
|
||||
turbopack: {
|
||||
root: __dirname
|
||||
},
|
||||
experimental: buildCpus > 0 ? { cpus: buildCpus } : undefined,
|
||||
env: {
|
||||
NEXT_PUBLIC_API_URL: process.env.NEXT_PUBLIC_API_URL || ''
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user