don0726 commited on
Commit
35995b0
·
verified ·
1 Parent(s): 8dd64b1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -2,12 +2,14 @@ FROM python:3.10
2
 
3
  WORKDIR /app
4
 
 
5
  ENV COQUI_TOS_AGREED=1
6
 
7
  COPY requirements.txt .
 
8
  RUN pip install --upgrade pip
9
  RUN pip install --no-cache-dir -r requirements.txt
10
 
11
  COPY . .
12
 
13
- CMD ["python", "app.py"]
 
2
 
3
  WORKDIR /app
4
 
5
+ # Accept XTTS license
6
  ENV COQUI_TOS_AGREED=1
7
 
8
  COPY requirements.txt .
9
+
10
  RUN pip install --upgrade pip
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
13
  COPY . .
14
 
15
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]