Using localhost in docker you can't acces the app.
This commit is contained in:
parent
d86807b5d4
commit
2fa7aaed8d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue