Skip to content

Commit

Permalink
Add healthcheck command to openvpn-docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
simonwep committed Jun 2, 2024
1 parent 9c50bb2 commit ec3e20d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions openvpn-docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ RUN apt-get install iptables -y

EXPOSE 1194/udp

HEALTHCHECK CMD pgrep openvpn || exit 1

RUN chmod +x bin/*
RUN chmod +x docker-entrypoint.sh
ENTRYPOINT ./docker-entrypoint.sh

0 comments on commit ec3e20d

Please sign in to comment.