feat(docker): Add .dockerignore and update Dockerfile for production build
This commit is contained in:
+3
-1
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user