diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..724adf0 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,23 @@ +#BASE IMAGE + +FROM python:3.7 + +#WORKING DIRECTORY + +WORKDIR /app + +#CODE COPY + +COPY . /app + +#INSTALL LIBRARIES + +RUN pip install -r resources.txt + +#MIGRATION + +RUN python cool_counters/manage.py migrate + +#RUN APP + +CMD ["python","cool_counters/manage.py","runserver","0.0.0.0:8000"]