ARG ALPINE_VERSION=3.18.3 ARG BASE_IMAGE=gitea.nulo.in/sutty/monit FROM ${BASE_IMAGE}:${ALPINE_VERSION} MAINTAINER "nulo " RUN apk add --no-cache pocketbase daemonize COPY ./pocketbased.sh /usr/local/bin/pocketbased COPY ./monit.conf /etc/monit.d/pocketbase.conf VOLUME /srv/pocketbase EXPOSE 8090