Spaces:
Runtime error
Runtime error
Commit
·
82043bd
1
Parent(s):
d5f7cb1
Update pip
Browse files- Dockerfile +7 -7
Dockerfile
CHANGED
@@ -40,12 +40,12 @@ RUN chmod 755 $WORKDIR
|
|
40 |
|
41 |
COPY requirements.txt $WORKDIR/requirements.txt
|
42 |
COPY oneformer $WORKDIR/oneformer
|
43 |
-
RUN python3 --version
|
44 |
-
RUN python3 -m pip install --upgrade pip
|
45 |
-
RUN
|
46 |
-
RUN
|
47 |
-
RUN
|
48 |
-
RUN
|
49 |
|
50 |
COPY . .
|
51 |
|
@@ -58,4 +58,4 @@ USER admin
|
|
58 |
|
59 |
EXPOSE 7860
|
60 |
|
61 |
-
ENTRYPOINT ["python3", "gradio_app.py"]
|
|
|
40 |
|
41 |
COPY requirements.txt $WORKDIR/requirements.txt
|
42 |
COPY oneformer $WORKDIR/oneformer
|
43 |
+
RUN python3.9 --version
|
44 |
+
RUN python3.9 -m pip install --upgrade pip
|
45 |
+
RUN python3.9 -m pip install multidict
|
46 |
+
RUN python3.9 -m pip install typing-extensions
|
47 |
+
RUN python3.9 -m pip install gradio --no-cache-dir
|
48 |
+
RUN python3.9 -m pip install --no-cache-dir --upgrade -r $WORKDIR/requirements.txt
|
49 |
|
50 |
COPY . .
|
51 |
|
|
|
58 |
|
59 |
EXPOSE 7860
|
60 |
|
61 |
+
ENTRYPOINT ["python3.9", "gradio_app.py"]
|