rogerxavier
commited on
Commit
•
eea8147
1
Parent(s):
ff134cc
Update Dockerfile
Browse files- Dockerfile +7 -3
Dockerfile
CHANGED
@@ -1,8 +1,12 @@
|
|
1 |
-
FROM python:3.9
|
2 |
-
|
|
|
|
|
3 |
RUN apt update && apt install -y libgl1-mesa-glx
|
4 |
|
5 |
|
|
|
|
|
6 |
# RUN apt upgrade -y
|
7 |
|
8 |
RUN pip install -U pip
|
@@ -16,7 +20,7 @@ COPY requirements.txt .
|
|
16 |
RUN pip install -r requirements.txt
|
17 |
|
18 |
COPY . .
|
19 |
-
|
20 |
|
21 |
|
22 |
EXPOSE 7860
|
|
|
1 |
+
# FROM python:3.9
|
2 |
+
|
3 |
+
FROM ampervue/ffmpeg
|
4 |
+
|
5 |
RUN apt update && apt install -y libgl1-mesa-glx
|
6 |
|
7 |
|
8 |
+
ENV IMAGEMAGICK_BINARY=convert
|
9 |
+
|
10 |
# RUN apt upgrade -y
|
11 |
|
12 |
RUN pip install -U pip
|
|
|
20 |
RUN pip install -r requirements.txt
|
21 |
|
22 |
COPY . .
|
23 |
+
|
24 |
|
25 |
|
26 |
EXPOSE 7860
|