mirror of
https://github.com/Fluffy-Bean/Fluffys-website.git
synced 2025-06-02 00:33:12 +00:00
Create a Django website
This commit is contained in:
parent
69170f19fb
commit
a71584ef98
60 changed files with 1344 additions and 1150 deletions
13
website/Dockerfile
Normal file
13
website/Dockerfile
Normal file
|
@ -0,0 +1,13 @@
|
|||
# syntax=docker/dockerfile:1
|
||||
FROM alpine:latest
|
||||
|
||||
EXPOSE 8000
|
||||
WORKDIR /website
|
||||
|
||||
COPY requirements.txt requirements.txt
|
||||
COPY ./website ./website
|
||||
|
||||
RUN apk update && apk add python3 py3-pip
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
CMD ["python3", "manage.py", "runserver", ""]
|
Loading…
Add table
Add a link
Reference in a new issue