Allow config without localsettings. Basic docker conf. Remove stale files.
[cas.git] / Dockerfile
1 FROM python:3.10-alpine AS base
2
3 COPY requirements.txt requirements.txt
4 RUN pip install --no-cache-dir -r requirements.txt
5
6 WORKDIR /app
7
8
9 FROM base AS prod
10
11 COPY src src
12
13 RUN pip install --no-cache-dir gunicorn psycopg2-binary
14
15 RUN src/manage.py collectstatic --no-input