Spaces:
Runtime error
Runtime error
MSchell0129
commited on
Commit
·
38fd586
1
Parent(s):
dc4b4a4
- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
FROM python:3.9
|
2 |
-
WORKDIR /
|
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","
|
|
|
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"]
|