1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-03-03 14:52:36 +02:00
Mailu/fetchmail/Dockerfile

14 lines
214 B
Docker
Raw Normal View History

2016-04-28 20:07:38 +02:00
FROM python:alpine
RUN apk add --update \
fetchmail \
&& rm -rf /var/cache/apk/*
COPY fetchmail.py /fetchmail.py
RUN mkdir /var/spool/mail \
&& chown mail: /var/spool/mail
USER mail
CMD ["/fetchmail.py"]