curator/Dockerfile

17 lines
348 B
Text
Raw Normal View History

FROM python:3.8-alpine
2018-01-08 22:36:41 +00:00
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"]