Files
navidrome-litefs/Dockerfile
sstent 21598113e4
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m2s
feat: migrate to LiteFS-supervised container architecture
2026-02-07 16:38:38 -08:00

21 lines
609 B
Docker

# Stage 1: Get LiteFS binary
FROM flyio/litefs:0.5 AS litefs
# Stage 2: Final image
FROM ghcr.io/navidrome/navidrome:latest
# Install FUSE and CA certificates (needed for LiteFS)
USER root
RUN apk add --no-cache fuse3 ca-certificates
# Copy LiteFS binary
COPY --from=litefs /usr/local/bin/litefs /usr/local/bin/litefs
# Copy LiteFS configuration
COPY litefs.yml /etc/litefs.yml
# We'll use environment variables for most LiteFS settings,
# but the baked-in config provides the structure.
# LiteFS will mount the FUSE fs and then execute Navidrome.
ENTRYPOINT ["litefs", "mount", "--", "/app/navidrome"]