Ensure data directory exists before chown

This commit is contained in:
Everett Wilber 2025-08-27 18:46:31 -04:00 committed by GitHub
parent f4dde86b36
commit a60b0a108a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 \