diff options
| author | Michael Grote | 2024-07-30 22:43:15 +0200 |
|---|---|---|
| committer | Michael Grote | 2024-07-30 22:43:15 +0200 |
| commit | 4be274b65340ef06c0388cd7fc548286a5bfbeac (patch) | |
| tree | 90739131580340e0ec6044bb82adb60ab84b7385 | |
| parent | 21e3ae639806bd25a51d2c9b82e29be1f18cd9b3 (diff) | |
make curl in healthcheck silent
| -rw-r--r-- | Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -17,7 +17,7 @@ RUN pip install --no-cache-dir --break-system-packages -r requirements.txt EXPOSE 5000 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" , "gunicorn", "app:app", "-c", "gunicorn_config.py"] |