angry-meow commited on
Commit
b590d25
·
1 Parent(s): 6549af7

caching duing pip install

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -6,6 +6,6 @@ ENV HOME=/home/user \
6
  WORKDIR $HOME/app
7
  COPY --chown=user . $HOME/app
8
  COPY ./requirements.txt ~/app/requirements.txt
9
- RUN pip install -r requirements.txt
10
  COPY . .
11
  CMD ["chainlit", "run", "app.py", "--port", "7860"]
 
6
  WORKDIR $HOME/app
7
  COPY --chown=user . $HOME/app
8
  COPY ./requirements.txt ~/app/requirements.txt
9
+ RUN pip install --no-cache-dir -r requirements.txt
10
  COPY . .
11
  CMD ["chainlit", "run", "app.py", "--port", "7860"]