healthz
This commit is contained in:
parent
4ad7bdd164
commit
701b43a22a
4 changed files with 89 additions and 8 deletions
|
|
@ -4,5 +4,6 @@ WORKDIR /app
|
|||
COPY hello-world/app.py .
|
||||
ENV FLASK_APP=app.py
|
||||
ENV FLASK_RUN_HOST=0.0.0.0
|
||||
HEALTHCHECK CMD curl --fail http://localhost:5000/healthz || exit 1
|
||||
CMD ["flask", "run"]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue