X-Git-Url: https://git.mdrn.pl/cas.git/blobdiff_plain/76fc5b2671d4c445e57236a5b1d54e56fe49764a..HEAD:/Dockerfile?ds=sidebyside diff --git a/Dockerfile b/Dockerfile index 70bd4f0..06bcb83 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,18 @@ FROM python:3.10-alpine AS base +RUN apk update && apk add --no-cache \ + openssh-keygen COPY requirements.txt requirements.txt RUN pip install --no-cache-dir -r requirements.txt WORKDIR /app/src +FROM base AS dev + +RUN pip install --no-cache-dir coverage + + FROM base AS prod RUN pip install --no-cache-dir gunicorn psycopg2-binary