1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-04 10:34:49 +02:00
dockerfiles/monit/Dockerfile
2015-07-02 21:18:27 +08:00

19 lines
323 B
Docker

#
# Dockerfile for monit
#
FROM alpine
MAINTAINER kev <noreply@datageek.info>
RUN apk add -U monit \
&& rm -rf /var/cache/apk/*
&& mkdir -p /var/lib/monit/events
COPY monit /etc/monit
RUN chmod 600 /etc/monit/monitrc
VOLUME /etc/monit /var/lib/monit
EXPOSE 2812
CMD ["monit", "-I", "-c", "/etc/monit/monitrc"]