Spaces:
Sleeping
Sleeping
Commit
·
add2bd4
1
Parent(s):
47a31d8
Update dockerfile
Browse files- dockerfile +4 -3
dockerfile
CHANGED
@@ -1,9 +1,10 @@
|
|
1 |
FROM python:3.9.16-buster
|
2 |
|
3 |
-
WORKDIR /
|
4 |
|
5 |
-
COPY requirements.txt
|
6 |
-
|
|
|
7 |
|
8 |
COPY . .
|
9 |
|
|
|
1 |
FROM python:3.9.16-buster
|
2 |
|
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 |
COPY . .
|
10 |
|