dromerosm commited on
Commit
80af058
·
verified ·
1 Parent(s): bc3cf05

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -15,10 +15,10 @@ COPY ./api ./api
15
  # Set environment variables
16
  ENV PYTHONUNBUFFERED=1
17
  ENV HOST=0.0.0.0
18
- ENV PORT=8000
19
 
20
  # Expose the port
21
- EXPOSE 8000
22
 
23
  # Run the application
24
- CMD ["uvicorn", "api.index:app", "--host", "0.0.0.0", "--port", "8000"]
 
15
  # Set environment variables
16
  ENV PYTHONUNBUFFERED=1
17
  ENV HOST=0.0.0.0
18
+ ENV PORT=7860
19
 
20
  # Expose the port
21
+ EXPOSE 7860
22
 
23
  # Run the application
24
+ CMD ["uvicorn", "api.index:app", "--host", "0.0.0.0", "--port", "7860"]