ARG ALPINE_VERSION=3.18.3 ARG BASE_IMAGE=gitea.nulo.in/sutty/monit FROM ${BASE_IMAGE}:${ALPINE_VERSION} MAINTAINER "nulo " ENV POCKETBASE_SECRET 11111111111111111111111111111111 ENV POCKETBASE_ORIGINS "" 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