Dockerfile no longer includes devDependencies or ./src

This commit is contained in:
Nix Krystik
2026-05-20 02:42:45 +08:00
parent 625231480b
commit 4f365db12e
5 changed files with 21 additions and 38 deletions
+1 -2
View File
@@ -6,7 +6,6 @@
"@types/express-session": "^1.18.1",
"eslint": "^9.27.0",
"rimraf": "^6.0.1",
"source-map-support": "^0.5.21",
"tsup": "^8.5.0",
"tsx": "^4.19.4",
"typescript": "^5.8.3",
@@ -25,7 +24,7 @@
},
"scripts": {
"dev": "tsx watch src/index.ts",
"start": "node dist/index.js",
"start": "node --enable-source-maps dist/index.js",
"build": "npm run clean && npx tsc && npm run copyfiles",
"clean": "npx rimraf dist",
"copyfiles": "npx copyfiles -u 1 \"./src/**/*.html\" ./dist"