Skip to content

Commit 5576db7

Browse files
committed
fix: ci
1 parent c8d42a8 commit 5576db7

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

Dockerfile

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ WORKDIR /app
77
COPY package*.json ./
88

99
# Install dependencies (without running prepare script)
10-
RUN npm ci --ignore-scripts
10+
RUN npm i
1111

1212
# Copy source code and config
1313
COPY src ./src
@@ -21,12 +21,6 @@ FROM node:22-alpine
2121

2222
WORKDIR /app
2323

24-
# Copy package files
25-
COPY package*.json ./
26-
27-
# Install production dependencies
28-
RUN npm ci --only=production && npm cache clean --force
29-
3024
# Copy built application
3125
COPY --from=builder /app/dist ./dist
3226

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
"dev": "ts-node src/index.ts",
3636
"start": "node dist/index.js",
3737
"test": "echo \"Error: no test specified\" && exit 1",
38-
"prepare": "npm run build",
3938
"cli": "ts-node src/cli.ts"
4039
},
4140
"dependencies": {

0 commit comments

Comments
 (0)