Django example (#43)

Add a Django example
This commit is contained in:
FelipeVilella
2020-04-07 09:00:55 -03:00
committed by GitHub
parent 40c3caa1c8
commit 1e7d24da27
10 changed files with 257 additions and 0 deletions

8
django/app/Dockerfile Normal file
View File

@@ -0,0 +1,8 @@
FROM python:3.7-alpine
EXPOSE 8000
WORKDIR /app
COPY requirements.txt /app
RUN pip3 install -r requirements.txt
COPY . /app
ENTRYPOINT ["python3"]
CMD ["manage.py", "runserver", "0.0.0.0:8000"]