forked from cadey/xesite
fix healthcheck
This commit is contained in:
parent
bb28e18c67
commit
8a096b0b55
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue