Fix Docker build by adding missing files and tsx dependency

- Add scripts/ directory to build stage for sync-assets.mjs
- Add index.html to build stage for Vite entry point
- Move tsx to production dependencies for server runtime
- Copy src/ and tsconfig.json to production stage for tsx

These changes enable the Docker build to complete successfully and
allow the server to run TypeScript files directly in production.
This commit is contained in:
evanpelle
2025-12-28 22:43:37 -08:00
parent 26f5d40819
commit 6b14d9cca1
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -16,6 +16,8 @@ COPY vite.config.ts ./
COPY tailwind.config.js ./
COPY postcss.config.js ./
COPY eslint.config.js ./
COPY index.html ./
COPY scripts ./scripts
COPY resources ./resources
COPY proprietary ./proprietary
COPY src ./src
+1 -1
View File
@@ -85,7 +85,6 @@
"sinon-chai": "^4.0.0",
"tailwindcss": "^3.4.17",
"tsconfig-paths": "^4.2.0",
"tsx": "^4.17.0",
"typescript": "^5.7.2",
"typescript-eslint": "^8.26.0",
"vite": "^7.3.0",
@@ -123,6 +122,7 @@
"obscenity": "^0.4.3",
"seedrandom": "^3.0.5",
"ts-node": "^10.9.2",
"tsx": "^4.17.0",
"uuid": "^11.1.0",
"winston": "^3.17.0",
"ws": "^8.18.0",