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