mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 12:25:20 +00:00
Ensure data directory exists before chown
This commit is contained in:
parent
f4dde86b36
commit
a60b0a108a
1 changed files with 1 additions and 1 deletions
|
|
@ -141,7 +141,7 @@ RUN pip3 install --no-cache-dir uv && \
|
||||||
else \
|
else \
|
||||||
uv pip install --system -r requirements.txt --no-cache-dir; \
|
uv pip install --system -r requirements.txt --no-cache-dir; \
|
||||||
fi; \
|
fi; \
|
||||||
chown -R $UID:$GID /app/backend/data/
|
mkdir -p /app/backend/data && chown -R $UID:$GID /app/backend/data/
|
||||||
|
|
||||||
# Install Ollama if requested
|
# Install Ollama if requested
|
||||||
RUN if [ "$USE_OLLAMA" = "true" ] && [ "$USE_SLIM" != "true" ]; then \
|
RUN if [ "$USE_OLLAMA" = "true" ] && [ "$USE_SLIM" != "true" ]; then \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue