feat: add libjxl for jpegxl conversion

This commit is contained in:
C4illin 2024-06-11 19:30:06 +02:00
parent 31e1a3124c
commit ff680cb295
4 changed files with 138 additions and 7 deletions

View file

@ -1,4 +1,4 @@
FROM oven/bun:1-debian as base
FROM oven/bun:1-alpine as base
WORKDIR /app
# install dependencies into temp directory
@ -31,16 +31,16 @@ LABEL description="ConvertX: self-hosted online file converter supporting 700+ f
LABEL repo="https://github.com/C4illin/ConvertX"
# install additional dependencies
RUN rm -rf /var/lib/apt/lists/partial && apt-get update -o Acquire::CompressionTypes::Order::=gz \
&& apt-get install -y \
RUN apk update && apk add --no-cache \
pandoc \
texlive-latex-recommended \
texlive-fonts-recommended \
texlive-latex-extra \
texlive \
texmf-dist-fontsextra \
texmf-dist-latexextra \
ffmpeg \
graphicsmagick \
ghostscript \
libvips-tools
vips-tools \
libjxl-tools
COPY --from=install /temp/prod/node_modules node_modules
# COPY --from=prerelease /app/src/index.tsx /app/src/