Skip to content

Commit

Permalink
release beta-0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rishikanthc committed Oct 9, 2024
1 parent 1547fc8 commit c0990e6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,14 @@ RUN download-ggml-model.sh base.en /models && \
download-ggml-model.sh small.en /models

# Download and unzip PocketBase
ADD https://github.com/pocketbase/pocketbase/releases/download/v${POCKETBASE_VERSION}/pocketbase_${POCKETBASE_VERSION}_linux_amd64.zip /tmp/pb.zip
# Dynamically set the URL based on the architecture
RUN if [ "$TARGETARCH" = "arm64" ]; then \
ARCH="arm64"; \
else \
ARCH="amd64"; \
fi && \
curl -L "https://github.com/pocketbase/pocketbase/releases/download/v${POCKETBASE_VERSION}/pocketbase_${POCKETBASE_VERSION}_linux_${ARCH}.zip" -o /tmp/pb.zip

RUN unzip /tmp/pb.zip pocketbase -d /usr/local/bin/ && rm /tmp/pb.zip

# Set the working directory back to /app
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Under the directory or volume you are mapping to `/scriberr`, please create the
```yaml
services:
scriberr:
image: ghcr.io/rishikanthc/scriberr:beta-0.1
image: ghcr.io/rishikanthc/scriberr:beta-0.2
ports:
- "3000:3000"
- "8080:8080" #Optionally expose DB UI
Expand Down

0 comments on commit c0990e6

Please sign in to comment.