Spaces:
Sleeping
Sleeping
| FROM linuxserver/calibre-web:latest | |
| # Installation de calibre (pour calibredb) et wget | |
| RUN apt-get update && \ | |
| apt-get install -y --no-install-recommends wget ca-certificates calibre && \ | |
| rm -rf /var/lib/apt/lists/* | |
| # Port 7860 imposé par Hugging Face | |
| ENV CALIBRE_PORT=7860 | |
| # Identifiants administrateur par défaut | |
| ENV APP_USER=admin | |
| ENV APP_PASS=admin123 | |
| # Copie du script d'importation automatique | |
| COPY start.sh /etc/cont-init.d/99-ebook-import | |
| RUN chmod +x /etc/cont-init.d/99-ebook-import | |
| # Fichier de configuration des ebooks à télécharger | |
| COPY library.json /defaults/library.json | |
| EXPOSE 7860 |