Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -4
Dockerfile
CHANGED
@@ -3,13 +3,12 @@ FROM python:3.11
|
|
3 |
# set work directory
|
4 |
WORKDIR /code
|
5 |
|
6 |
-
# install dependencies
|
7 |
-
COPY requirements.txt /code/
|
8 |
-
RUN pip install -r requirement.txt
|
9 |
-
|
10 |
# copy project
|
11 |
COPY . /code/
|
12 |
|
|
|
|
|
|
|
13 |
EXPOSE 8000
|
14 |
|
15 |
CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"]
|
|
|
3 |
# set work directory
|
4 |
WORKDIR /code
|
5 |
|
|
|
|
|
|
|
|
|
6 |
# copy project
|
7 |
COPY . /code/
|
8 |
|
9 |
+
# install dependencies
|
10 |
+
RUN pip install -r requirement.txt
|
11 |
+
|
12 |
EXPOSE 8000
|
13 |
|
14 |
CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"]
|