feat(docker): Add .dockerignore and update Dockerfile for production build

This commit is contained in:
StarAppeal
2025-09-27 05:02:28 +02:00
parent 82e5e6c810
commit c380b56cbe
4 changed files with 11 additions and 22 deletions
+3 -1
View File
@@ -4,7 +4,8 @@
"type": "commonjs",
"main": "dist/index.js",
"scripts": {
"start": "cross-env NODE_ENV=development ts-node-dev --respawn --transpile-only src/index.ts",
"start": "node dist/index.js",
"dev": "cross-env NODE_ENV=development ts-node-dev --respawn --transpile-only src/index.ts",
"clean": "rimraf dist",
"build": "tsc --project tsconfig.json",
"test": "vitest run",
@@ -37,6 +38,7 @@
"cookie-parser": "^1.4.7",
"cors": "^2.8.5",
"dotenv": "^16.4.4",
"ts-node": "^10.9.2",
"express": "^5.1.0",
"express-rate-limit": "^8.1.0",
"jsonwebtoken": "^9.0.2",