containers-pocketbase/Dockerfile
f 03444f0960
Some checks failed
ci/woodpecker/push/woodpecker/1 Pipeline failed
ci/woodpecker/push/woodpecker/3 Pipeline was successful
ci/woodpecker/push/woodpecker/2 Pipeline was successful
feat: support cors origin
2023-12-14 16:41:11 -03:00

14 lines
397 B
Docker

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