feat: Add epub support

This commit is contained in:
Dave Bauman 2024-01-13 08:46:56 -05:00
parent f079cb6b56
commit f559068186
No known key found for this signature in database
GPG key ID: 3AF96C27EDA2C9D4
6 changed files with 35 additions and 11 deletions

View file

@ -28,6 +28,11 @@ ENV WEBUI_JWT_SECRET_KEY "SECRET_KEY"
WORKDIR /app
# Install pandoc
RUN apt-get update \
&& apt-get install -y pandoc \
&& rm -rf /var/lib/apt/lists/*
# copy embedding weight from build
RUN mkdir -p /root/.cache/chroma/onnx_models/all-MiniLM-L6-v2
COPY --from=build /app/onnx.tar.gz /root/.cache/chroma/onnx_models/all-MiniLM-L6-v2