diff --git a/Dockerfile b/Dockerfile index 2cc6cd4..4351749 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,11 @@ # syntax=docker/dockerfile:labs FROM python:3.12.7-alpine3.20 COPY --from=zoeyvid/curl-quic:419 /usr/local/bin/curl /usr/local/bin/curl +COPY requirements.txt /tmp/requirements.txt RUN apk upgrade --no-cache -a && \ apk add --no-cache ca-certificates tzdata tini jq build-base libffi-dev && \ - pip install --no-cache-dir parsedmarc==8.15.1 && \ + pip install --no-cache-dir -r /tmp/requirements.txt && \ apk del --no-cache build-base libffi-dev && \ mkdir -vp /etc/parsedmarc && \ chown -R nobody:nobody /tmp /etc/parsedmarc