Start adding deployment infra.
This commit is contained in:
parent
288759146c
commit
9576202fa1
11 changed files with 121 additions and 12 deletions
16
wedding_site/Dockerfile
Normal file
16
wedding_site/Dockerfile
Normal file
|
@ -0,0 +1,16 @@
|
|||
# pull official base image
|
||||
FROM python:3.11.4-slim-buster
|
||||
|
||||
# set environment variables
|
||||
ENV PYTHONDONTWRITEBYTECODE 1
|
||||
ENV PYTHONUNBUFFERED 1
|
||||
|
||||
# install dependencies
|
||||
RUN pip install --upgrade pip
|
||||
COPY ./requirements.txt .
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
RUN mkdir staticfiles
|
||||
|
||||
# copy project
|
||||
COPY . .
|
Loading…
Add table
Add a link
Reference in a new issue