rogerxavier
commited on
Commit
•
97f1b32
1
Parent(s):
4d70ae2
Update Dockerfile
Browse files- Dockerfile +14 -37
Dockerfile
CHANGED
@@ -1,57 +1,34 @@
|
|
1 |
-
|
|
|
2 |
|
3 |
-
|
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
|
13 |
-
# # #RUN pip install -U pyyaml
|
14 |
-
# # RUN pip install -U runway-python
|
15 |
-
# # #runway --force-reinstall
|
16 |
-
# # #RUN pip install -U tensorflow
|
17 |
-
|
18 |
-
|
19 |
-
# COPY requirements.txt .
|
20 |
-
# RUN pip install -r requirements.txt
|
21 |
-
|
22 |
-
# COPY . .
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
# EXPOSE 7860
|
27 |
-
|
28 |
-
# #compo-singleone-v1-dev-acc.py
|
29 |
-
# CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "7860"]
|
30 |
|
31 |
|
|
|
|
|
|
|
|
|
|
|
32 |
|
33 |
|
|
|
|
|
34 |
|
|
|
35 |
|
36 |
|
37 |
|
|
|
38 |
|
|
|
|
|
39 |
|
40 |
-
FROM ampervue/ffmpeg
|
41 |
|
42 |
-
ENV IMAGEMAGICK_BINARY=convert
|
43 |
|
44 |
|
45 |
-
RUN pip install -U pip
|
46 |
|
47 |
-
COPY requirements.txt .
|
48 |
-
RUN pip install -r requirements.txt
|
49 |
|
50 |
-
COPY . .
|
51 |
|
52 |
|
53 |
|
54 |
-
EXPOSE 7860
|
55 |
|
56 |
-
#compo-singleone-v1-dev-acc.py
|
57 |
-
CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
1 |
+
FROM python:3.9
|
2 |
+
RUN apt update && apt install -y libgl1-mesa-glx ImageMagick
|
3 |
|
4 |
+
ENV IMAGEMAGICK_BINARY=convert
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
|
6 |
|
7 |
+
RUN pip install -U pip
|
8 |
+
# #RUN pip install -U pyyaml
|
9 |
+
# RUN pip install -U runway-python
|
10 |
+
# #runway --force-reinstall
|
11 |
+
# #RUN pip install -U tensorflow
|
12 |
|
13 |
|
14 |
+
COPY requirements.txt .
|
15 |
+
RUN pip install -r requirements.txt
|
16 |
|
17 |
+
COPY . .
|
18 |
|
19 |
|
20 |
|
21 |
+
EXPOSE 7860
|
22 |
|
23 |
+
#compo-singleone-v1-dev-acc.py
|
24 |
+
CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "7860"]
|
25 |
|
|
|
26 |
|
|
|
27 |
|
28 |
|
|
|
29 |
|
|
|
|
|
30 |
|
|
|
31 |
|
32 |
|
33 |
|
|
|
34 |
|
|
|
|