lasthourcloud/others/pocketbase/Dockerfile

13 lines
368 B
Docker
Raw Normal View History

2022-12-02 08:41:22 +00:00
FROM alpine:3.17
ARG BUILDARCH
2022-12-22 10:22:37 +00:00
ARG PB_VERSION=0.10.2
2022-12-02 08:41:22 +00:00
RUN apk add --no-cache \
unzip \
ca-certificates
ADD https://github.com/pocketbase/pocketbase/releases/download/v${PB_VERSION}/pocketbase_${PB_VERSION}_linux_${BUILDARCH}.zip /tmp/pb.zip
RUN unzip /tmp/pb.zip -d /app/
RUN rm /tmp/pb.zip
EXPOSE 8080
2022-12-22 10:22:37 +00:00
CMD ["/app/pocketbase", "serve", "--http=0.0.0.0:8080"]