curator/Dockerfile
Knut Ahlers 63d56e65e7
Pin Python to 3.8, 3.9+ is not supported
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-03-07 14:21:27 +01:00

16 lines
348 B
Docker

FROM python:3.8-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"]