ARG ALPINE_VERSION=3.18.3 ARG BASE_IMAGE=gitea.nulo.in/sutty/monit FROM ${BASE_IMAGE}:${ALPINE_VERSION} LABEL org.opencontainers.image.authors="f@sutty.nl" ENV SRS_DOMAIN sutty.nl ENV SRS_SECRET /etc/postsrsd.secret RUN apk add --no-cache postsrsd COPY ./monit.conf /etc/monit.d/postsrsd.conf COPY ./postsrsd.sh /usr/local/bin/postsrsd EXPOSE 10001 EXPOSE 10002