Spaces:
Runtime error
Runtime error
Jamiiwej2903
commited on
Commit
•
a3b8faa
1
Parent(s):
aac8be8
Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -2,10 +2,12 @@ FROM python:3.9
|
|
2 |
|
3 |
WORKDIR /code
|
4 |
|
|
|
|
|
5 |
COPY requirements.txt /code/requirements.txt
|
6 |
|
7 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
8 |
|
9 |
COPY .. .
|
10 |
|
11 |
-
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
2 |
|
3 |
WORKDIR /code
|
4 |
|
5 |
+
RUN apt-get update && apt-get install -y ffmpeg
|
6 |
+
|
7 |
COPY requirements.txt /code/requirements.txt
|
8 |
|
9 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
10 |
|
11 |
COPY .. .
|
12 |
|
13 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|