Do0rMaMu commited on
Commit
088c77b
1 Parent(s): 346465c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -8,5 +8,7 @@ COPY . .
8
 
9
  # Install any needed packages specified in requirements.txt
10
  RUN pip install -r requirements.txt
11
- # Define the command to run the Flask app
12
- CMD ["python", "app.py"]
 
 
 
8
 
9
  # Install any needed packages specified in requirements.txt
10
  RUN pip install -r requirements.txt
11
+
12
+
13
+ # Run app.py when the container launches
14
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]