Spaces:
Sleeping
Sleeping
Commit ·
fb2eca3
1
Parent(s): 7b2279c
fix pip issues
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -6,6 +6,7 @@ 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 -
|
|
|
|
| 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 --upgrade pip
|
| 10 |
+
RUN pip install -r requirements.txt --use-deprecated=legacy-resolver
|
| 11 |
COPY . .
|
| 12 |
CMD ["chainlit", "run", "app.py", "--port", "7860"]
|