linkchecker/Dockerfile

15 lines
378 B
Docker
Raw Normal View History

FROM python:3-slim
2018-03-25 08:55:22 +00:00
# needed to allow linkchecker create plugin directory and initial configuration file in "home" dir
ENV HOME /tmp
RUN set -x \
&& pip install --no-cache-dir https://github.com/linkchecker/linkchecker/archive/master.zip
# /mnt enables linkchecker to access to access files on local machine if needed
VOLUME /mnt
WORKDIR /mnt
ENTRYPOINT ["linkchecker"]