FROM python:3-alpine RUN apk add --no-cache git \ && pip install pre-commit && git config --global --add safe.directory /data VOLUME /data WORKDIR /data ENTRYPOINT ["pre-commit"]