Spaces:
Paused
Paused
Update Dockerfile
Browse files- 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 |
-
|
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"]
|
|
|
|
|
|