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