Start adding deployment infra.

This commit is contained in:
jmsgrogan 2024-02-18 14:09:12 +00:00
parent 288759146c
commit 9576202fa1
11 changed files with 121 additions and 12 deletions

16
wedding_site/Dockerfile Normal file
View 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 . .