Fix docker image listen interface

This commit is contained in:
Gabriel Augendre 2021-11-14 11:54:04 +01:00
parent 4a31684d03
commit a759198762

View file

@ -39,4 +39,4 @@ COPY --from=git /version /app/.version
HEALTHCHECK --start-period=30s CMD python -c "import requests; requests.get('http://localhost:8000', timeout=2)" HEALTHCHECK --start-period=30s CMD python -c "import requests; requests.get('http://localhost:8000', timeout=2)"
CMD ["uvicorn", "main:app"] CMD ["uvicorn", "--host=0.0.0.0", "main:app"]