Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -5,9 +5,11 @@ FROM python:3.9
|
|
5 |
|
6 |
WORKDIR /code
|
7 |
|
|
|
8 |
COPY ./requirements.txt /code/requirements.txt
|
9 |
|
10 |
-
|
|
|
11 |
|
12 |
COPY . .
|
13 |
|
|
|
5 |
|
6 |
WORKDIR /code
|
7 |
|
8 |
+
# Copy the requirements file into the container
|
9 |
COPY ./requirements.txt /code/requirements.txt
|
10 |
|
11 |
+
# Install any needed dependencies
|
12 |
+
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
13 |
|
14 |
COPY . .
|
15 |
|