-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
curl http://[::1]:8000/ -o ataka-player-cli.pyz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (56) Recv failure: Connection reset by peer
works on 127.0.0.1:8000/
diff --git a/ataka/api/Dockerfile b/ataka/api/Dockerfile
index 04ca958..4efafd1 100644
--- a/ataka/api/Dockerfile
+++ b/ataka/api/Dockerfile
@@ -15,4 +15,5 @@ COPY ataka/api/requirements.txt /ataka/api/
RUN pip install --no-cache-dir -r /ataka/api/requirements.txt
COPY ataka/api /ataka/api
-CMD [ "bash", "/ataka/common/delayed_start.sh", "--", "python", "-m", "uvicorn", "--host", "0.0.0.0", "ataka.api:app"]
+CMD [ "bash", "/ataka/common/delayed_start.sh", "--", "python", "-m", "uvicorn", "--host", "::", "ataka.api:app"]
Above patch can be applied to make it work
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels