Spaces:
Runtime error
Runtime error
pengdaqian
commited on
Commit
•
729efba
1
Parent(s):
dbc9cdc
fix
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
FROM python:3.8
|
2 |
|
|
|
|
|
3 |
RUN useradd -m -u 1000 user
|
4 |
|
5 |
USER user
|
@@ -7,8 +9,6 @@ USER user
|
|
7 |
ENV HOME=/home/user \
|
8 |
PATH=/home/user/.local/bin:$PATH
|
9 |
|
10 |
-
RUN apt-get update && apt-get install -y ffmpeg
|
11 |
-
|
12 |
COPY requirements.txt requirements.txt
|
13 |
RUN pip3 install --no-cache-dir -r requirements.txt
|
14 |
|
|
|
1 |
FROM python:3.8
|
2 |
|
3 |
+
RUN apt-get update && apt-get install -y ffmpeg
|
4 |
+
|
5 |
RUN useradd -m -u 1000 user
|
6 |
|
7 |
USER user
|
|
|
9 |
ENV HOME=/home/user \
|
10 |
PATH=/home/user/.local/bin:$PATH
|
11 |
|
|
|
|
|
12 |
COPY requirements.txt requirements.txt
|
13 |
RUN pip3 install --no-cache-dir -r requirements.txt
|
14 |
|