dobinyim commited on
Commit
9bfa017
1 Parent(s): c827140

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -4
Dockerfile CHANGED
@@ -4,8 +4,7 @@ USER user
4
  ENV HOME=/home/user \
5
  PATH=/home/user/.local/bin:$PATH
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"]
 
4
  ENV HOME=/home/user \
5
  PATH=/home/user/.local/bin:$PATH
6
  WORKDIR $HOME/app
7
+ COPY --chown=user requirements.txt $HOME/app/requirements.txt
8
+ RUN pip install --user -r requirements.txt
9
  COPY --chown=user . $HOME/app
10
+ CMD ["~/.local/bin/chainlit", "run", "app.py", "--port", "7860"]