We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3df49d6 commit 0e0e1c6Copy full SHA for 0e0e1c6
Dockerfile
@@ -2,8 +2,9 @@
2
FROM node:20-slim AS build
3
WORKDIR /app
4
COPY . .
5
-RUN npm ci
+RUN npm ci --ignore-scripts
6
RUN npm run build
7
+RUN npm prune --omit=dev
8
9
FROM node:20-slim
10
RUN apt-get update && apt-get install -y \
package.json
@@ -22,7 +22,6 @@
22
"class-transformer": "^0.5.1",
23
"class-validator": "^0.15.1",
24
"dotenv": "^17.3.1",
25
- "lint-staged": "^16.4.0",
26
"reflect-metadata": "^0.2.2",
27
"rxjs": "^7.8.1"
28
},
@@ -41,6 +40,8 @@
41
40
"eslint-config-prettier": "^10.0.1",
42
"eslint-plugin-prettier": "^5.2.2",
43
"globals": "^16.0.0",
+ "husky": "^9.1.7",
44
+ "lint-staged": "^16.2.7",
45
"prettier": "^3.4.2",
46
"semantic-release": "^25.0.3",
47
"source-map-support": "^0.5.21",
0 commit comments