peinan commited on
Commit
08d3e73
1 Parent(s): f21417b

modified Dockerfile to deal with permission

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -8,9 +8,9 @@ ENV HOME=/home/user \
8
 
9
  WORKDIR $HOME/app
10
 
11
- RUN pip install --no-cache-dir -r requirements.txt
12
-
13
  COPY --chown=user . $HOME/app
 
14
 
15
  EXPOSE 7860
16
  ENV GRADIO_SERVER_NAME="0.0.0.0"
 
8
 
9
  WORKDIR $HOME/app
10
 
11
+ RUN pip install --no-cache-dir --upgrade pip
 
12
  COPY --chown=user . $HOME/app
13
+ RUN pip install --no-cache-dir -r requirements.txt
14
 
15
  EXPOSE 7860
16
  ENV GRADIO_SERVER_NAME="0.0.0.0"