Skip to content

Commit 43c535a

Browse files
committed
Dockerfile file added
1 parent b2a0bc4 commit 43c535a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Dockerfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM python AS builder
2+
EXPOSE 8000
3+
WORKDIR /mysite
4+
COPY requirements.txt /mysite
5+
RUN pip install --upgrade pip
6+
RUN pip install --upgrade pip setuptools wheel
7+
RUN pip install -r requirements.txt
8+
COPY . /mysite
9+
ENTRYPOINT ["python"]
10+
CMD ["manage.py", "runserver", "0.0.0.0:8000"]

0 commit comments

Comments
 (0)