Changed Docker CMD to remove redundant run.sh
This commit is contained in:
@ -56,6 +56,6 @@ ENTRYPOINT ["docker-entrypoint.sh"]
|
||||
# at the end of your Dockerfile, before CMD or after EXPOSE
|
||||
# Kill the main process if the healthcheck fails. This will kill the container and restart policy can restart it.
|
||||
HEALTHCHECK --interval=30s --timeout=5s --start-period=30s --retries=3 \
|
||||
CMD curl -f http://localhost/health || kill -s 15 1
|
||||
CMD curl -fsS http://localhost/health || kill -s 15 1
|
||||
|
||||
CMD ["poetry", "run", "/app/run.sh"]
|
||||
CMD ["gunicorn", "barker.main:app", "--worker-class", "uvicorn.workers.UvicornWorker", "--config", "./gunicorn.conf.py", "--log-config", "./logging.conf"]
|
||||
|
||||
Reference in New Issue
Block a user