mirror of
https://github.com/open-webui/open-webui.git
synced 2026-08-28 05:27:35 +00:00
refac
This commit is contained in:
parent
2dadc5435a
commit
5b8975b7da
1 changed files with 5 additions and 0 deletions
|
|
@ -164,6 +164,11 @@ RUN set -e; \
|
|||
mkdir -p /app/backend/data; chown -R $UID:$GID /app/backend/data/; \
|
||||
rm -rf /var/lib/apt/lists/*;
|
||||
|
||||
# Optional: PPTX parsing through unstructured may need spaCy's English model.
|
||||
# Keep this out of the default image to avoid the extra image bloat; deployments
|
||||
# with read-only site-packages can uncomment it and bake the model in.
|
||||
# RUN python -m spacy download en_core_web_sm
|
||||
|
||||
# Install Ollama if requested
|
||||
RUN if [ "$USE_OLLAMA" = "true" ]; then \
|
||||
date +%s > /tmp/ollama_build_hash && \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue