Skip to content

Commit 0e0e1c6

Browse files
committed
fix: correct npm ci
1 parent 3df49d6 commit 0e0e1c6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
FROM node:20-slim AS build
33
WORKDIR /app
44
COPY . .
5-
RUN npm ci
5+
RUN npm ci --ignore-scripts
66
RUN npm run build
7+
RUN npm prune --omit=dev
78

89
FROM node:20-slim
910
RUN apt-get update && apt-get install -y \

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
"class-transformer": "^0.5.1",
2323
"class-validator": "^0.15.1",
2424
"dotenv": "^17.3.1",
25-
"lint-staged": "^16.4.0",
2625
"reflect-metadata": "^0.2.2",
2726
"rxjs": "^7.8.1"
2827
},
@@ -41,6 +40,8 @@
4140
"eslint-config-prettier": "^10.0.1",
4241
"eslint-plugin-prettier": "^5.2.2",
4342
"globals": "^16.0.0",
43+
"husky": "^9.1.7",
44+
"lint-staged": "^16.2.7",
4445
"prettier": "^3.4.2",
4546
"semantic-release": "^25.0.3",
4647
"source-map-support": "^0.5.21",

0 commit comments

Comments
 (0)