File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ WORKDIR /app
7
7
COPY package*.json ./
8
8
9
9
# Install dependencies (without running prepare script)
10
- RUN npm ci --ignore-scripts
10
+ RUN npm i
11
11
12
12
# Copy source code and config
13
13
COPY src ./src
@@ -21,12 +21,6 @@ FROM node:22-alpine
21
21
22
22
WORKDIR /app
23
23
24
- # Copy package files
25
- COPY package*.json ./
26
-
27
- # Install production dependencies
28
- RUN npm ci --only=production && npm cache clean --force
29
-
30
24
# Copy built application
31
25
COPY --from=builder /app/dist ./dist
32
26
Original file line number Diff line number Diff line change 35
35
"dev" : " ts-node src/index.ts" ,
36
36
"start" : " node dist/index.js" ,
37
37
"test" : " echo \" Error: no test specified\" && exit 1" ,
38
- "prepare" : " npm run build" ,
39
38
"cli" : " ts-node src/cli.ts"
40
39
},
41
40
"dependencies" : {
You can’t perform that action at this time.
0 commit comments