From 6f43dc6ee4c852811f7bd38c143ebbc20fb13f92 Mon Sep 17 00:00:00 2001 From: psavarmattas Date: Fri, 14 May 2021 15:37:26 +0530 Subject: [PATCH] DockerFile included --- Dockerfile | 11 +++++++++++ requirements.txt | 5 ++++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..6cd1074 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM python:3 + +COPY . /app + +WORKDIR /app + +RUN pip install -r requirements.txt + +RUN python manage.py migrate + +CMD python /app/manage.py runserver \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 8535eb8..028f70d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,6 @@ asgiref==3.3.4 autopep8==1.5.7 +certifi==2020.12.5 dj-database-url==0.5.0 Django==3.2.3 gunicorn==20.1.0 @@ -14,5 +15,7 @@ pytz==2021.1 retrying==1.3.3 six==1.16.0 sqlparse==0.4.1 +toml==0.10.2 Unipath==1.1 -whitenoise==5.2.0 \ No newline at end of file +whitenoise==5.2.0 +wincertstore==0.2 \ No newline at end of file