mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-14 10:53:30 +02:00
15 lines
236 B
Docker
15 lines
236 B
Docker
FROM python:alpine
|
|
|
|
RUN apk add --update \
|
|
fetchmail \
|
|
ca-certificates \
|
|
&& 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"]
|