modify Dockerfile with copy requirements.txt line v4
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
@@ -5,8 +5,7 @@ ENV HOME=/home/user \
|
|
5 |
PATH=/home/user/.local/bin:$PATH
|
6 |
WORKDIR $HOME/app
|
7 |
COPY --chown=user . $HOME/app
|
8 |
-
|
9 |
-
COPY ./requirements.txt $HOME/app/requirements.txt
|
10 |
RUN pip install -r requirements.txt
|
11 |
-
|
12 |
CMD ["chainlit", "run", "app.py", "--port", "7860"]
|
|
|
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"]
|