Docker: Set default storage location and update Rust to 1.87

This commit is contained in:
Lennart
2025-06-08 22:22:37 +02:00
parent 6bcad7cc65
commit 61f14ca072
2 changed files with 9 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM rust:1.86-alpine AS chef
FROM --platform=$BUILDPLATFORM rust:1.87-alpine AS chef
ARG TARGETPLATFORM
ARG BUILDPLATFORM
@@ -42,5 +42,7 @@ FROM scratch
COPY --from=builder /usr/local/cargo/bin/rustical /usr/local/bin/rustical
CMD ["/usr/local/bin/rustical"]
ENV RUSTICAL_DATA_STORE__SQLITE__DB_URL: /var/lib/rustical/db.sqlite3
LABEL org.opencontainers.image.authors="Lennart K github.com/lennart-k"
EXPOSE 4000

View File

@@ -1,11 +1,5 @@
# Installation
## Manual
```sh
cargo install --locked --git https://github.com/lennart-k/rustical
```
## Docker
```sh
@@ -85,3 +79,9 @@ Since push messages are currently not encrypted you might potentially want to en
# Must strictly be the URL origin (so no trailing slashes)
allowed_push_servers = ["https://your-instance-ntfy.sh"]
```
## Manual
```sh
cargo install --locked --git https://github.com/lennart-k/rustical
```