Skip to content

Commit

Permalink
docker: add curl to slim image
Browse files Browse the repository at this point in the history
  • Loading branch information
makinbacon21 committed Sep 28, 2023
1 parent f702503 commit 75fced8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ FROM node:18.18.0-bookworm-slim
ENV PORT=3001
EXPOSE 3001

RUN apt update
RUN apt install -y curl

HEALTHCHECK --interval=5s --timeout=30s --start-period=5s --retries=3 CMD [ "curl http://localhost/" ]

WORKDIR /sauce-app
Expand Down

0 comments on commit 75fced8

Please sign in to comment.