Add docker-compose file to run applications and postgres locally

This commit is contained in:
Dana Lambert 2021-10-06 14:06:55 +13:00
parent fb3ad16b62
commit 0ea165fcff
3 changed files with 57 additions and 0 deletions

9
backend/Dockerfile Normal file
View file

@ -0,0 +1,9 @@
FROM python:3.8-slim-bullseye
WORKDIR /app
COPY ./requirements.txt /app/requirements.txt
RUN pip install -U --no-cache-dir -r requirements.txt
COPY . /app

1
backend/requirements.txt Normal file
View file

@ -0,0 +1 @@
Django==3.2.8