rogerxavier
commited on
Commit
•
5f0c24c
1
Parent(s):
de50773
Update Dockerfile
Browse files- Dockerfile +37 -8
Dockerfile
CHANGED
@@ -1,20 +1,49 @@
|
|
1 |
-
# FROM python:3.9
|
2 |
|
3 |
-
FROM ampervue/ffmpeg
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
|
5 |
-
|
|
|
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
|
|
|
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
|
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 |
# RUN apt upgrade -y
|
45 |
|
46 |
RUN pip install -U pip
|
|
|
|
|
|
|
|
|
|
|
47 |
|
48 |
COPY requirements.txt .
|
49 |
RUN pip install -r requirements.txt
|