Just create a official dockerhub account and publish this amazing project.
FROM alpine:3.6
ARG POCKETBASE_VERSION=0.1.2
# Install the dependencies
RUN apk add --no-cache \
ca-certificates \
unzip \
wget \
zip \
zlib-dev
# Download Pocketbase and install it for AMD64
ADD https://github.com/pocketbase/pocketbase/releases/download/v${POCKETBASE_VERSION}/pocketbase_${POCKETBASE_VERSION}_linux_amd64.zip /tmp/pocketbase.zip
RUN unzip /tmp/pocketbase.zip -d /usr/local/bin/
RUN chmod +x /usr/local/bin/pocketbase
# Notify Docker that the container wants to expose a port.
EXPOSE 8090
# Start Pocketbase
CMD [ "/usr/local/bin/pocketbase", "serve" ]
This is an example made for bscott / pocketbase-docker credits to him.
Just create a official dockerhub account and publish this amazing project.
This is an example made for bscott / pocketbase-docker credits to him.