mirror of
https://github.com/plausible/hosting.git
synced 2024-11-14 03:45:59 -06:00
9fc075a440
This will allow more platforms to use this template repo. The original dockerhub image was last updated 5 years ago, and as such, newer architectures aren't supported like the Raspberry Pi 4 which a lot of people are using for self hosting these days
14 lines
330 B
Docker
14 lines
330 B
Docker
FROM debian:stretch-slim
|
|
|
|
# Install exim4
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
RUN set -ex; \
|
|
apt-get update; \
|
|
apt-get install -y exim4-daemon-light; \
|
|
apt-get clean
|
|
|
|
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
|
|
EXPOSE 25/tcp
|
|
ENTRYPOINT [ "docker-entrypoint.sh" ]
|
|
CMD [ "exim", "-bdf", "-v", "-q30m" ]
|