vidit98 commited on
Commit
b731e57
1 Parent(s): 3ecc9f6
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -29,7 +29,7 @@ RUN chown -R user:user $WORKDIR
29
  RUN chmod -R 777 $WORKDIR
30
 
31
  COPY requirements.txt $WORKDIR/requirements.txt
32
- RUN pip install --no-cache-dir --upgrade -r $WORKDIR/requirements.txt
33
  RUN pip install ninja
34
 
35
  COPY . .
@@ -65,4 +65,4 @@ RUN --mount=type=secret,id=ACCESS_TOKEN,mode=0444,required=true
65
 
66
  EXPOSE 7860
67
 
68
- ENTRYPOINT ["python", "app.py"]
 
29
  RUN chmod -R 777 $WORKDIR
30
 
31
  COPY requirements.txt $WORKDIR/requirements.txt
32
+ RUN cat $WORKDIR/requirements.txt | xargs -n 1 -L 1 pip install --no-cache-dir
33
  RUN pip install ninja
34
 
35
  COPY . .
 
65
 
66
  EXPOSE 7860
67
 
68
+ ENTRYPOINT ["python", "app.py"]