diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..2f81ec9 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM python:3.9 + +WORKDIR /app + +COPY . . +RUN pip install -r requirements.txt +RUN python manage.py makemigrations +RUN python manage.py migrate + +EXPOSE 8080 + +CMD ["python", "manage.py", "runserver", "0.0.0.0:8080"]