Skip to content

Commit

Permalink
Docker: use jxlpy instead of ffmpeg
Browse files Browse the repository at this point in the history
  • Loading branch information
URenko committed May 8, 2024
1 parent 065fe9c commit 051c99d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN apt-get update && \

COPY . /tmp/comiclib
RUN /venv/bin/pip install --no-cache-dir -U "/tmp/comiclib[full]"
RUN /venv/bin/pip install --no-cache-dir -U gunicorn
RUN /venv/bin/pip install --no-cache-dir -U gunicorn jxlpy
RUN mkdir /userdata

FROM quay.io/karuboniru/7zz:2301 AS data
Expand All @@ -32,8 +32,8 @@ COPY --from=build-venv /venv /venv
COPY --from=build-venv /userdata /userdata
COPY --from=quay.io/karuboniru/7zz:2301 \
/usr/local/bin/7zz /usr/bin
COPY --from=docker.io/mwader/static-ffmpeg:latest \
/ffmpeg /usr/bin
# COPY --from=docker.io/mwader/static-ffmpeg:latest \
# /ffmpeg /usr/bin

ENV content=/root/comiclib watch=False
EXPOSE 8000
Expand Down
4 changes: 3 additions & 1 deletion docs/en/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
- 💻 [LANraragi](https://github.com/Difegue/LANraragi)-compatible API
- 📜 scroll / book mode reader ([eHunter](https://github.com/hanFengSan/eHunter))
- 🔁 Tag translation ([EhTagTranslation](https://github.com/EhTagTranslation/Database))
- 🖼️ Support JPEG XL
- 🖼️ Support JPEG XL [^1]

[^1]: `pip install jxlpy` required.

👉 [Get started](getting-started.md) now

Expand Down
4 changes: 3 additions & 1 deletion docs/zh/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
- 💻 与 [LANraragi](https://github.com/Difegue/LANraragi) 兼容的API
- 📜 卷轴式/书本式阅读器([eHunter](https://github.com/hanFengSan/eHunter)
- 🔁 标签翻译([EhTagTranslation](https://github.com/EhTagTranslation/Database)
- 🖼️ 支持 JPEG XL
- 🖼️ 支持 JPEG XL [^1]

[^1]: 需要 `pip install jxlpy`

马上 👉 [开始使用](getting-started.md)

Expand Down

0 comments on commit 051c99d

Please sign in to comment.