File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed
Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change 1- # --- Build Stage ---
21FROM node:20-alpine AS builder
32WORKDIR /app
43COPY package*.json ./
5-
6- # Install dependencies, ignoring peer conflicts
74RUN npm ci --legacy-peer-deps
85COPY tsconfig.json ./
96COPY src ./src
10-
11- # Build the application
127RUN npm run build
138
14- # --- Runtime Stage ---
159FROM node:20-alpine AS runtime
16- RUN apk add --no-cache bash git
10+ RUN apk add --no-cache bash git grep findutils coreutils sed gawk curl wget openssh-client ca-certificates make
1711WORKDIR /app
1812ENV NODE_ENV=production
19-
2013COPY package*.json ./
21-
2214RUN npm ci --omit=dev --legacy-peer-deps
23-
2415COPY --from=builder /app/dist ./dist
25-
2616ENV TERM=xterm-256color
27-
2817ENTRYPOINT ["node" , "dist/cli.js" ]
2918CMD []
You can’t perform that action at this time.
0 commit comments