Skip to content

Commit

Permalink
Add curl installation to Dockerfile for docker health
Browse files Browse the repository at this point in the history
  • Loading branch information
Luligu committed Feb 11, 2025
1 parent 998ccda commit 6f25a2a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ RUN npm run cleanBuildProduction && npm pkg delete devDependencies scripts types
FROM node:22-bookworm-slim AS release
WORKDIR /app

RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends curl && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

COPY --from=builder /app/*.tgz .
RUN npm install -g npm@latest && npm install -g --omit=dev *.tgz && rm *.tgz

Expand Down

0 comments on commit 6f25a2a

Please sign in to comment.