From c44058d12b3793687d72ef0caaf528b9d0ea8166 Mon Sep 17 00:00:00 2001 From: hanzalawebdev Date: Mon, 6 May 2024 19:32:55 +0500 Subject: [PATCH 1/2] add requirments.txt file --- requirements.txt | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 requirements.txt diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 00000000..41aeea14 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,5 @@ +asgiref==3.7.2 +Django==3.2.25 +pytz==2024.1 +sqlparse==0.4.4 +typing_extensions==4.7.1 From 19074c1e30f66cee6b25d2b3c14e9ca4156ffa7f Mon Sep 17 00:00:00 2001 From: hanzalawebdev Date: Sun, 12 May 2024 18:36:18 +0500 Subject: [PATCH 2/2] Create Dockerfile --- Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..78b0f318 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM python:3 + +RUN pip install django==3.2 + +COPY . . + +RUN python manage.py migrate + +CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"] \ No newline at end of file