fix pb migration

This commit is contained in:
JCEEE
2026-08-10 15:56:03 +01:00
parent e1fb046afd
commit 3085934fb9
7 changed files with 59 additions and 8 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
FROM alpine:latest
RUN apk add --no-cache curl unzip && \
curl -L -o /tmp/pb.zip https://github.com/pocketbase/pocketbase/releases/download/v0.25.8/pocketbase_0.25.8_linux_amd64.zip && \
curl -L -o /tmp/pb.zip https://github.com/pocketbase/pocketbase/releases/download/v0.39.10/pocketbase_0.39.10_linux_amd64.zip && \
unzip /tmp/pb.zip -d /usr/local/bin/ && \
rm /tmp/pb.zip && \
apk del curl unzip
EXPOSE 8090
CMD ["pocketbase", "serve", "--http=0.0.0.0:8090"]
CMD ["pocketbase", "serve", "--http=0.0.0.0:8090", "--automigrate=false"]