Using localhost in docker you can't acces the app.

This commit is contained in:
CronyAkatsuki 2023-03-26 10:46:52 +02:00
parent d86807b5d4
commit 2fa7aaed8d

View File

@ -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='*'"]