MSchell0129 commited on
Commit
52458f5
·
1 Parent(s): 64fad6a
Files changed (1) hide show
  1. text.Dockerfile +3 -3
text.Dockerfile CHANGED
@@ -1,6 +1,6 @@
1
  FROM python:3.10
2
- WORKDIR /content
3
- COPY ./requirements.txt /content/requirements.txt
4
  RUN pip install --no-cache-dir --upgrade -r /content/requirements.txt
5
  COPY . .
6
- CMD ["app.speech_to_text:app", "--host", "0.0.0.0", "--port", "7860"]
 
1
  FROM python:3.10
2
+ WORKDIR /code
3
+ COPY ./requirements.txt /code/requirements.txt
4
  RUN pip install --no-cache-dir --upgrade -r /content/requirements.txt
5
  COPY . .
6
+ CMD ["uvicorn","app.speech_to_text:app", "--host", "0.0.0.0", "--port", "7860"]