Spaces:
Runtime error
Runtime error
deveix
commited on
Commit
·
1ef58d8
1
Parent(s):
1dd3f57
apt install
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -7,6 +7,7 @@ FROM python:3.9-slim
|
|
| 7 |
|
| 8 |
# Copy just the requirements into the working directory so it gets cached by itself
|
| 9 |
COPY ./requirements.txt /code/requirements.txt
|
|
|
|
| 10 |
|
| 11 |
# Install the dependencies from the requirements file
|
| 12 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
@@ -26,7 +27,6 @@ COPY --chown=user ./app $HOME/code/app
|
|
| 26 |
|
| 27 |
# Copy the code into the working directory
|
| 28 |
# COPY ./app /code/app
|
| 29 |
-
RUN apt-get install ffmpeg
|
| 30 |
|
| 31 |
ENV PORT=8000
|
| 32 |
EXPOSE 8000
|
|
|
|
| 7 |
|
| 8 |
# Copy just the requirements into the working directory so it gets cached by itself
|
| 9 |
COPY ./requirements.txt /code/requirements.txt
|
| 10 |
+
RUN sudo apt-get install ffmpeg
|
| 11 |
|
| 12 |
# Install the dependencies from the requirements file
|
| 13 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
|
|
| 27 |
|
| 28 |
# Copy the code into the working directory
|
| 29 |
# COPY ./app /code/app
|
|
|
|
| 30 |
|
| 31 |
ENV PORT=8000
|
| 32 |
EXPOSE 8000
|