praeclarumjj3 commited on
Commit
82043bd
·
1 Parent(s): d5f7cb1

Update pip

Browse files
Files changed (1) hide show
  1. 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 pip3 install multidict
46
- RUN pip3 install typing-extensions
47
- RUN pip3 install gradio --no-cache-dir
48
- RUN pip3 install --no-cache-dir --upgrade -r $WORKDIR/requirements.txt
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"]