Fix Docker build and production server infrastructure
- Add SKIP_ENV_VALIDATION to bypass Zod env check during next build - Bundle custom server.ts with esbuild so production uses Socket.io - Create worker entry point (src/worker.ts) with all BullMQ workers - Add esbuild build scripts for server and worker bundles - Fix Dockerfile.worker to include its own build stage - Fix pre-commit hook to work without global pnpm - Add CLAUDE.md with project conventions and quick reference Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
12
tsconfig.server.json
Normal file
12
tsconfig.server.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"moduleResolution": "node",
|
||||
"noEmit": false,
|
||||
"outDir": "./dist",
|
||||
"plugins": []
|
||||
},
|
||||
"include": ["src/server.ts", "src/worker.ts", "src/**/*.ts"],
|
||||
"exclude": ["node_modules", "client-portal", "**/*.tsx"]
|
||||
}
|
||||
Reference in New Issue
Block a user