parent
40c3caa1c8
commit
1e7d24da27
10 changed files with 257 additions and 0 deletions
8
django/app/Dockerfile
Normal file
8
django/app/Dockerfile
Normal 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"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue