tommy24 commited on
Commit
4a272ea
·
verified ·
1 Parent(s): 7b723e0

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -65,8 +65,8 @@ COPY . /app
65
  RUN pip install --no-cache-dir -r requirements.txt
66
 
67
  # Expose the port your app will run on (adjust based on your app's needs)
68
- EXPOSE 8000
69
 
70
  # Define the command to run your application
71
- CMD ["python", "app.py"]
72
 
 
65
  RUN pip install --no-cache-dir -r requirements.txt
66
 
67
  # Expose the port your app will run on (adjust based on your app's needs)
68
+ EXPOSE 7860
69
 
70
  # Define the command to run your application
71
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
72