Skip to content

Commit 6c5074f

Browse files
committed
Include tools in the Docker image
1 parent c8f1983 commit 6c5074f

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

Dockerfile

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,18 @@
1-
# --- Build Stage ---
21
FROM node:20-alpine AS builder
32
WORKDIR /app
43
COPY package*.json ./
5-
6-
# Install dependencies, ignoring peer conflicts
74
RUN npm ci --legacy-peer-deps
85
COPY tsconfig.json ./
96
COPY src ./src
10-
11-
# Build the application
127
RUN npm run build
138

14-
# --- Runtime Stage ---
159
FROM 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
1711
WORKDIR /app
1812
ENV NODE_ENV=production
19-
2013
COPY package*.json ./
21-
2214
RUN npm ci --omit=dev --legacy-peer-deps
23-
2415
COPY --from=builder /app/dist ./dist
25-
2616
ENV TERM=xterm-256color
27-
2817
ENTRYPOINT ["node", "dist/cli.js"]
2918
CMD []

0 commit comments

Comments
 (0)