hzruo commited on
Commit
67328de
·
verified ·
1 Parent(s): 9790122

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -18,11 +18,11 @@ RUN pip install --no-cache-dir -r requirements.txt
18
  COPY . .
19
 
20
  # Expose the port the app runs on
21
- EXPOSE 9000
22
 
23
  # Environment variables with defaults
24
  ENV OPENAI_API_KEY=None
25
  ENV ENVIRONMENT="production"
26
 
27
  # Command to run the application
28
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "9000"]
 
18
  COPY . .
19
 
20
  # Expose the port the app runs on
21
+ EXPOSE 7860
22
 
23
  # Environment variables with defaults
24
  ENV OPENAI_API_KEY=None
25
  ENV ENVIRONMENT="production"
26
 
27
  # Command to run the application
28
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]