# Rotates the shared ./log tree in production. Runs as a sidecar in # docker/docker-compose.homelab.yml; see bin/lacuna.logrotate for the policy. FROM alpine:3.20 RUN apk add --no-cache logrotate tzdata COPY entrypoint-logrotate.sh /entrypoint.sh RUN chmod +x /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"]