Spaces:
Sleeping
Sleeping
TheM1N9
commited on
Commit
·
02b7ad4
1
Parent(s):
363f523
remove ffmpeg installation from Dockerfile and add ffmpeg-python to requirements
Browse files- Dockerfile +0 -3
- requirements.txt +2 -1
Dockerfile
CHANGED
|
@@ -9,9 +9,6 @@ WORKDIR /code
|
|
| 9 |
COPY ./requirements.txt /code/requirements.txt
|
| 10 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
| 11 |
|
| 12 |
-
# Install ffmpeg for pydub
|
| 13 |
-
RUN apt-get update && apt-get install -y ffmpeg
|
| 14 |
-
|
| 15 |
COPY . /code
|
| 16 |
|
| 17 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 9 |
COPY ./requirements.txt /code/requirements.txt
|
| 10 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
| 11 |
|
|
|
|
|
|
|
|
|
|
| 12 |
COPY . /code
|
| 13 |
|
| 14 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
requirements.txt
CHANGED
|
@@ -7,4 +7,5 @@ PyPDF2
|
|
| 7 |
elevenlabs
|
| 8 |
pydub
|
| 9 |
jinja2
|
| 10 |
-
python-jose[cryptography]
|
|
|
|
|
|
| 7 |
elevenlabs
|
| 8 |
pydub
|
| 9 |
jinja2
|
| 10 |
+
python-jose[cryptography]
|
| 11 |
+
ffmpeg-python
|