make curl in healthcheck silent
This commit is contained in:
parent
21e3ae6398
commit
4be274b653
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ RUN pip install --no-cache-dir --break-system-packages -r requirements.txt
|
||||||
EXPOSE 5000
|
EXPOSE 5000
|
||||||
|
|
||||||
HEALTHCHECK --interval=5s --timeout=3s \
|
HEALTHCHECK --interval=5s --timeout=3s \
|
||||||
CMD curl -f http://localhost:5000/health || exit 1
|
CMD curl -s -f http://localhost:5000/health || exit 1
|
||||||
|
|
||||||
#CMD [ "python3", "-m" , "flask", "run", "--port", "5000", "--host", "0.0.0.0"]
|
#CMD [ "python3", "-m" , "flask", "run", "--port", "5000", "--host", "0.0.0.0"]
|
||||||
CMD [ "python3", "-m" , "gunicorn", "app:app", "-c", "gunicorn_config.py"]
|
CMD [ "python3", "-m" , "gunicorn", "app:app", "-c", "gunicorn_config.py"]
|
||||||
|
|
Reference in a new issue