Skip to content

Commit

Permalink
feat(slim): add HEALTHCHECK to slim docker image
Browse files Browse the repository at this point in the history
to facilitate testing that the image comes up fine
  • Loading branch information
dbyron-sf committed Mar 24, 2024
1 parent 2803d5d commit ccd98c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile.slim
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,6 @@ RUN for plugin in $PACKER_PLUGINS ; do \
fi; \
done

CMD ["/opt/rosco/bin/rosco"]
HEALTHCHECK CMD curl http://localhost:8087/health | grep UP || exit 1

CMD ["/opt/rosco/bin/rosco"]

0 comments on commit ccd98c0

Please sign in to comment.