Spaces:
Running
Running
fix: Install ffmpeg prior to changing user
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -7,13 +7,13 @@ WORKDIR /code
|
|
7 |
|
8 |
COPY ./requirements.txt /code/requirements.txt
|
9 |
|
|
|
|
|
|
|
10 |
RUN useradd -m -u 1000 user
|
11 |
|
12 |
USER user
|
13 |
|
14 |
-
RUN apt update && apt install -y ffmpeg
|
15 |
-
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
16 |
-
|
17 |
ENV HOME=/home/user
|
18 |
ENV PATH=/home/user/.local/bin:$PATH
|
19 |
|
|
|
7 |
|
8 |
COPY ./requirements.txt /code/requirements.txt
|
9 |
|
10 |
+
RUN apt update && apt install -y ffmpeg
|
11 |
+
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
12 |
+
|
13 |
RUN useradd -m -u 1000 user
|
14 |
|
15 |
USER user
|
16 |
|
|
|
|
|
|
|
17 |
ENV HOME=/home/user
|
18 |
ENV PATH=/home/user/.local/bin:$PATH
|
19 |
|