Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
|
@@ -3,7 +3,9 @@ FROM python:3.10
|
|
| 3 |
WORKDIR /code
|
| 4 |
|
| 5 |
COPY ./requirements.txt /code/requirements.txt
|
|
|
|
| 6 |
|
|
|
|
| 7 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
| 8 |
|
| 9 |
# Set up a new user named "user" with user ID 1000
|
|
|
|
| 3 |
WORKDIR /code
|
| 4 |
|
| 5 |
COPY ./requirements.txt /code/requirements.txt
|
| 6 |
+
COPY ./pre-requirements.txt /code/pre-requirements.txt
|
| 7 |
|
| 8 |
+
RUN pip install --no-cache-dir --upgrade -r /code/pre-requirements.txt
|
| 9 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
| 10 |
|
| 11 |
# Set up a new user named "user" with user ID 1000
|