Skip to content

Commit

Permalink
add curl
Browse files Browse the repository at this point in the history
  • Loading branch information
smalho01 committed Dec 8, 2023
1 parent 9f1698f commit f761a08
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ RUN npm install pm2 -g

EXPOSE 5050
EXPOSE 5051
RUN apk add --no-cache curl
RUN apk update
RUN apk upgrade
RUN apk search curl
RUN apk add curl

HEALTHCHECK --interval=60s --timeout=10m --retries=10 CMD curl --fail http://localhost:3000 || exit 1

Expand Down
5 changes: 4 additions & 1 deletion Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ RUN npm install pm2 -g

EXPOSE 5050
EXPOSE 5051
RUN apk add --no-cache curl
RUN apk update
RUN apk upgrade
RUN apk search curl
RUN apk add curl

HEALTHCHECK --interval=60s --timeout=10m --retries=10 CMD (rems-setup % curl --fail http://localhost:5051/doctorOrders/api/getRx && curl --fail http://localhost:5050) || exit 1

Expand Down

0 comments on commit f761a08

Please sign in to comment.