ebook-shelf (sha256:d4d2731c00467183a0ed755b1a042740c72f5d45a3b19cd1fd61a03a225de542)

Published 2026-11-24 20:32:10 +00:00 by Rondal

Installation

docker pull forgejo-web.lan.cyberspirits.eu/images/ebook-shelf@sha256:d4d2731c00467183a0ed755b1a042740c72f5d45a3b19cd1fd61a03a225de542
sha256:d4d2731c00467183a0ed755b1a042740c72f5d45a3b19cd1fd61a03a225de542

Image layers

# debian.sh --arch 'amd64' out/ 'trixie' '@1795392000'
ENV DEBIAN_FRONTEND=noninteractive PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1 QT_QPA_PLATFORM=offscreen EBOOK_SHELF_DATA=/data
RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends calibre python3 python3-venv ca-certificates && rm -rf /var/lib/apt/lists/* # buildkit
WORKDIR /app
RUN /bin/sh -c python3 -m venv /opt/venv # buildkit
ENV PATH=/opt/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
COPY pyproject.toml README.md ./ # buildkit
COPY ebook_shelf ./ebook_shelf # buildkit
RUN /bin/sh -c pip install --no-cache-dir . # buildkit
RUN /bin/sh -c useradd --system --uid 10001 --create-home shelf && mkdir /data && chown shelf:shelf /data # buildkit
USER shelf
VOLUME [/data]
EXPOSE 8795/tcp
HEALTHCHECK {Test:[CMD-SHELL python -c "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8795/healthz', timeout=2)"] Interval:30s Timeout:3s StartPeriod:0s StartInterval:0s Retries:0}
CMD ["uvicorn" "ebook_shelf.app:app" "--host" "0.0.0.0" "--port" "8795" "--workers" "1" "--proxy-headers" "--forwarded-allow-ips" "*"]

Labels

Key Value
org.opencontainers.image.revision ab457f078b14d7bec2735341a658d10d0d24f5a1
org.opencontainers.image.source https://forgejo-web.lan.cyberspirits.eu/Heimautomatisierung/ebook-shelf
org.opencontainers.image.title ebook-shelf
org.opencontainers.image.version 0.3.1
Details
Container
2026-11-24 20:32:10 +00:00
1
OCI / Docker
linux/amd64
504 MiB
Versions (6) View all
0.3.1 2026-11-24
latest 2026-11-24
0.3.0 2026-11-24
0.2.1 2026-11-24
0.2.0 2026-11-24