Skip to content

Commit b92f332

Browse files
author
Padala Teja Sai Kumar Reddy
committed
dockerfile added
1 parent abbba57 commit b92f332

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

Dockerfile

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
FROM python
2+
3+
LABEL mainatiner="[email protected]"
4+
5+
COPY . /src
6+
7+
WORKDIR /src
8+
9+
RUN pip install -r requirements.txt
10+
RUN python manage.py makemigrations
11+
RUN python manage.py migrate
12+
13+
EXPOSE 8000
14+
15+
ENTRYPOINT ["python","manage.py","runserver","0.0.0.0:8000"]

requirements.txt

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
asgiref==3.3.4
2+
Django==3.2.4
3+
pytz==2021.1
4+
sqlparse==0.4.1

0 commit comments

Comments
 (0)