Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -7,8 +7,9 @@ WORKDIR /code
|
|
7 |
# Copy the current directory contents into the container at /usr/src/app
|
8 |
COPY . .
|
9 |
|
10 |
-
|
11 |
-
|
|
|
12 |
|
13 |
# Make port 8000 available to the world outside this container
|
14 |
EXPOSE 8000
|
|
|
7 |
# Copy the current directory contents into the container at /usr/src/app
|
8 |
COPY . .
|
9 |
|
10 |
+
COPY ./requirements.txt /code/requirements.txt
|
11 |
+
|
12 |
+
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
13 |
|
14 |
# Make port 8000 available to the world outside this container
|
15 |
EXPOSE 8000
|