13 lines
368 B
Docker
13 lines
368 B
Docker
FROM alpine:3.17
|
|
ARG BUILDARCH
|
|
ARG PB_VERSION=0.10.2
|
|
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
|
|
CMD ["/app/pocketbase", "serve", "--http=0.0.0.0:8080"]
|