11 lines
190 B
Docker
11 lines
190 B
Docker
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"] |