ARG ALPINE_VERSION=3.15.0 ARG BASE_IMAGE=sutty/monit ARG MMMONIT_VERSION=0.2.1 FROM ${BASE_IMAGE}:${ALPINE_VERSION} MAINTAINER "f " ENV DATABASE_URL "/srv/mmmonit.sqlite3" RUN apk add --no-cache mmmonit~${MMMONIT_VERSION} daemonize COPY ./monit.conf /etc/monit.d/mmmonit.conf COPY ./mmmonitd.sh /usr/local/bin/mmmonitd EXPOSE 3000/tcp VOLUME /srv