s4um1l commited on
Commit
f090dfd
·
1 Parent(s): 75e2ca4

playing with docker for https

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -70,4 +70,6 @@ WORKDIR /home/user/app/backend
70
  EXPOSE 7860
71
 
72
  # Start the FastAPI server
73
- CMD ["python", "-m", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
 
 
70
  EXPOSE 7860
71
 
72
  # Start the FastAPI server
73
+ # CMD ["python", "-m", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
74
+ # Update this line in your Dockerfile
75
+ CMD ["python", "-m", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860", "--proxy-headers", "--forwarded-allow-ips=*"]