curator/Dockerfile
2018-01-08 23:36:41 +01:00

16 lines
346 B
Docker

FROM python:3-alpine
LABEL maintainer Knut Ahlers <knut@ahlers.me>
ADD requirements.txt /tmp/requirements.txt
RUN set -ex \
&& pip install -r /tmp/requirements.txt \
&& adduser -D -s /bin/bash -h /home/curator -g curator curator
USER curator
VOLUME ["/home/curator/.curator", "/data"]
ENTRYPOINT ["/usr/local/bin/curator"]
CMD ["--help"]