39b00f12e1036a6e2b93b08b04ab247b736a86f7
[cas.git] / Dockerfile
1 FROM python:3.10-alpine AS base
2
3 RUN     apk update && apk add --no-cache \
4         openssh-keygen
5 COPY requirements.txt requirements.txt
6 RUN pip install --no-cache-dir -r requirements.txt
7
8 WORKDIR /app/src
9
10
11 FROM base AS dev
12
13 RUN apk add --no-cache gettext
14 RUN pip install --no-cache-dir coverage
15
16
17 FROM base AS prod
18
19 RUN pip install --no-cache-dir gunicorn psycopg2-binary
20
21 COPY src /app/src