fix pb migration
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user