fix healthcheck

This commit is contained in:
Cadey Ratio 2018-07-01 20:46:50 +00:00
parent bb28e18c67
commit 8a096b0b55
1 changed files with 1 additions and 1 deletions

View File

@ -12,5 +12,5 @@ COPY ./blog /site/blog
COPY ./css /site/css COPY ./css /site/css
COPY ./run.sh /site/run.sh COPY ./run.sh /site/run.sh
HEALTHCHECK CMD curl --fail http://127.0.0.1:5000 || exit 1 HEALTHCHECK CMD wget --spider http://127.0.0.1:5000 || exit 1
CMD /site/run.sh CMD /site/run.sh