Skip to content

Commit 051c99d

Browse files
committed
Docker: use jxlpy instead of ffmpeg
1 parent 065fe9c commit 051c99d

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ RUN apt-get update && \
1010

1111
COPY . /tmp/comiclib
1212
RUN /venv/bin/pip install --no-cache-dir -U "/tmp/comiclib[full]"
13-
RUN /venv/bin/pip install --no-cache-dir -U gunicorn
13+
RUN /venv/bin/pip install --no-cache-dir -U gunicorn jxlpy
1414
RUN mkdir /userdata
1515

1616
FROM quay.io/karuboniru/7zz:2301 AS data
@@ -32,8 +32,8 @@ COPY --from=build-venv /venv /venv
3232
COPY --from=build-venv /userdata /userdata
3333
COPY --from=quay.io/karuboniru/7zz:2301 \
3434
/usr/local/bin/7zz /usr/bin
35-
COPY --from=docker.io/mwader/static-ffmpeg:latest \
36-
/ffmpeg /usr/bin
35+
# COPY --from=docker.io/mwader/static-ffmpeg:latest \
36+
# /ffmpeg /usr/bin
3737

3838
ENV content=/root/comiclib watch=False
3939
EXPOSE 8000

docs/en/docs/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
- 💻 [LANraragi](https://github.com/Difegue/LANraragi)-compatible API
88
- 📜 scroll / book mode reader ([eHunter](https://github.com/hanFengSan/eHunter))
99
- 🔁 Tag translation ([EhTagTranslation](https://github.com/EhTagTranslation/Database))
10-
- 🖼️ Support JPEG XL
10+
- 🖼️ Support JPEG XL [^1]
11+
12+
[^1]: `pip install jxlpy` required.
1113

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

docs/zh/docs/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
- 💻 与 [LANraragi](https://github.com/Difegue/LANraragi) 兼容的API
88
- 📜 卷轴式/书本式阅读器([eHunter](https://github.com/hanFengSan/eHunter)
99
- 🔁 标签翻译([EhTagTranslation](https://github.com/EhTagTranslation/Database)
10-
- 🖼️ 支持 JPEG XL
10+
- 🖼️ 支持 JPEG XL [^1]
11+
12+
[^1]: 需要 `pip install jxlpy`
1113

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

0 commit comments

Comments
 (0)