pocketbase (0.22.17)
Published 2024-07-13 03:18:06 +00:00 by zhaoyingbo
Installation
docker pull git.yingbo.im:333/zhaoyingbo/pocketbase:0.22.17
sha256:1e5ea52e9ba730507d579561c4dedbe39511284160452b046275e43cc758f211
Image Layers
ADD file:8e81116368669ed3dd361bc898d61bff249f524139a239fdaf3ec46869a39921 in / |
CMD ["/bin/sh"] |
COPY /tmp/pocketbase.zip /tmp/pocketbase.zip # buildkit |
COPY /etc/localtime /etc/localtime # buildkit |
COPY /etc/timezone /etc/timezone # buildkit |
RUN /bin/sh -c set -eux && sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories # buildkit |
RUN /bin/sh -c apk update && apk add unzip # buildkit |
RUN /bin/sh -c unzip /tmp/pocketbase.zip -d /usr/local/bin/ # buildkit |
RUN /bin/sh -c rm /tmp/pocketbase.zip # buildkit |
RUN /bin/sh -c addgroup -S pocketbase && adduser -S pocketbase -G pocketbase # buildkit |
RUN /bin/sh -c chown pocketbase:pocketbase /usr/local/bin/pocketbase # buildkit |
RUN /bin/sh -c mkdir /pb_data # buildkit |
RUN /bin/sh -c chown pocketbase:pocketbase /pb_data # buildkit |
RUN /bin/sh -c mkdir /pb_migrations # buildkit |
RUN /bin/sh -c chown pocketbase:pocketbase /pb_migrations # buildkit |
RUN /bin/sh -c chmod 710 /usr/local/bin/pocketbase # buildkit |
VOLUME [/pb_data] |
USER pocketbase |
EXPOSE map[8090/tcp:{}] |
ENTRYPOINT ["/usr/local/bin/pocketbase" "serve" "--http=0.0.0.0:8090" "--dir=/pb_data"] |