Spaces:
Runtime error
Runtime error
MSchell0129
commited on
Commit
·
52458f5
1
Parent(s):
64fad6a
update
Browse files- text.Dockerfile +3 -3
text.Dockerfile
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
FROM python:3.10
|
2 |
-
WORKDIR /
|
3 |
-
COPY ./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"]
|