From a7591987628a667e0b69af1abbf0bf955b9e3271 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sun, 14 Nov 2021 11:54:04 +0100 Subject: [PATCH] Fix docker image listen interface --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0c32edc..49065a5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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)" -CMD ["uvicorn", "main:app"] +CMD ["uvicorn", "--host=0.0.0.0", "main:app"]