Using localhost in docker you can't acces the app.
This commit is contained in:
parent
d86807b5d4
commit
2fa7aaed8d
@ -10,4 +10,4 @@ RUN apk add --no-cache --update libmagic \
|
||||
|
||||
COPY . .
|
||||
|
||||
CMD ["uvicorn", "main:app", "--host", "127.0.0.1", "--port", "8000", "--proxy-headers", "--forwarded-allow-ips='*'"]
|
||||
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000", "--proxy-headers", "--forwarded-allow-ips='*'"]
|
||||
|
Loading…
Reference in New Issue
Block a user