Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -11,11 +11,11 @@
|
|
11 |
|
12 |
WORKDIR /app
|
13 |
|
14 |
-
|
15 |
-
|
16 |
-
# Install git, gcc, and python3-dev for pip to install from GitHub and build wheels
|
17 |
RUN apt-get update && apt-get install -y git gcc python3-dev ffmpeg mediainfo neofetch
|
18 |
|
|
|
|
|
19 |
ENV PIP_ROOT_USER_ACTION=ignore
|
20 |
RUN pip install --no-cache-dir -r requirements.txt
|
21 |
RUN bash installer.sh
|
|
|
11 |
|
12 |
WORKDIR /app
|
13 |
|
14 |
+
USER root
|
|
|
|
|
15 |
RUN apt-get update && apt-get install -y git gcc python3-dev ffmpeg mediainfo neofetch
|
16 |
|
17 |
+
COPY . .
|
18 |
+
|
19 |
ENV PIP_ROOT_USER_ACTION=ignore
|
20 |
RUN pip install --no-cache-dir -r requirements.txt
|
21 |
RUN bash installer.sh
|