ADD file:5758b97d8301c84a204a6e516241275d785a7cade40b2fb99f01fe122482e283 in / |
CMD ["/bin/sh"] |
LABEL maintainer=J. Elfring <code@elfring.ms> |
ARG PB_VERSION=0.22.23 |
RUN |1 PB_VERSION=0.22.23 /bin/sh -c apk add --no-cache ca-certificates unzip # buildkit |
ADD --chown=daemon:daemon https://github.com/pocketbase/pocketbase/releases/download/v0.22.23/pocketbase_0.22.23_linux_amd64.zip /tmp/pb.zip # buildkit |
RUN |1 PB_VERSION=0.22.23 /bin/sh -c mkdir /pb && chown daemon:daemon /pb # buildkit |
USER daemon |
WORKDIR /pb |
RUN |1 PB_VERSION=0.22.23 /bin/sh -c unzip /tmp/pb.zip -d /pb/ # buildkit |
EXPOSE map[8080/tcp:{}] |
CMD ["/pb/pocketbase" "serve" "--http=0.0.0.0:8080"] |