Skip to content

Commit 4e4bd10

Browse files
authored
Update Dockerfile
1 parent 1f2e9f2 commit 4e4bd10

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Dockerfile

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM python:3.8
2+
ENV projectenv 1
3+
RUN mkdir -p /app
4+
WORKDIR /app
5+
COPY requirements.txt /app/requirements.txt
6+
RUN pip install -r requirements.txt
7+
COPY . /app
8+
9+
CMD python manage.py migrate
10+
CMD python manage.py runserver 0.0.0.0:8000
11+
EXPOSE 8000

0 commit comments

Comments
 (0)