Fix docker image listen interface
This commit is contained in:
parent
4a31684d03
commit
a759198762
1 changed files with 1 additions and 1 deletions
|
@ -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"]
|
||||||
|
|
Reference in a new issue