init
This commit is contained in:
commit
8851786e67
353 changed files with 36724 additions and 0 deletions
17
Dockerfile
Executable file
17
Dockerfile
Executable file
|
@ -0,0 +1,17 @@
|
|||
FROM python:alpine
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN python3 -m venv venv
|
||||
|
||||
RUN venv/bin/pip3 install django==5.0
|
||||
|
||||
RUN venv/bin/python3 manage.py migrate
|
||||
|
||||
RUN venv/bin/python3 manage.py makemigrations
|
||||
|
||||
CMD [ "venv/bin/python3", "manage.py", "runserver", "0.0.0.0:80", "--insecure" ]
|
Loading…
Add table
Add a link
Reference in a new issue