Fetching metadata from the HF Docker repository...
Nov 21, 2024 12:34 fix: Resolve yarn installation and build issues - Add proper yarn installation via npm
- Configure yarn cache and network timeout
- Add build optimization flags
- Implement BuildKit caching
- Add .dockerignore for build optimization 12:29 Setup Dify for HF Spaces deployment with optimized Docker configuration Nov 15, 2024 15:32 fix: resolve dependency installation issues - Split package installations into manageable groups
- Add proper Node.js setup with dependencies
- Install Python packages in logical groups
- Add verification steps
- Clean up after installations 15:23 fix: resolve Node.js and npm installation issues - Add proper Node.js repository setup
- Install Node.js and npm correctly
- Add yarn installation
- Add version verification
- Clean up package lists after installation 15:03 fix: resolve package installation issues - Add proper package repository update
- Install build-essential and development packages
- Fix NLTK installation and data download
- Clean up package lists after installation Nov 13, 2024 20:28 build: force rebuild with package installation fixes 20:17 fix: update Dockerfile to properly handle package installation 19:58 fix: update Dockerfile to properly handle package installations Nov 12, 2024 17:32 fix: optimize Dockerfile for Hugging Face Spaces deployment 17:12 fix: resolve package version conflicts - Standardize Flask-Migrate to version 4.0.7
- Remove duplicate package entries
- Maintain consistent versions across stages
- Fix dependency conflicts in pip install 17:02 fix: update package versions for compatibility - Update Cohere to v4.43 for ChatStreamRequestToolResultsItem
- Add explicit Flask-Migrate and Flask-SQLAlchemy versions
- Ensure consistent versions in builder and runtime stages
- Maintain existing dependency structure 16:32 fix: update OpenAI package version - Update OpenAI to version 1.14.0 for ThreadMessage support
- Add explicit version to prevent overrides
- Maintain existing dependency structure
- Update both builder and runtime stages 16:09 fix: add model provider dependencies - Add cohere package for Cohere AI integration
- Add additional model provider packages
- Add LangChain dependencies for model integration
- Maintain existing dependency structure
- Update both builder and runtime stages 15:38 fix: update dependencies in Dockerfile - Remove nvidia-triton-client due to compatibility issues
- Use tritonclient[all] for NVIDIA Triton support
- Maintain existing dependency structure 15:25 fix: add Google AI dependencies - Add google-cloud-aiplatform for Vertex AI
- Add google-generativeai for PaLM API
- Add vertexai for Google AI integration
- Add supporting Google Cloud libraries
- Maintain existing dependency structure 14:58 fix: add Google AI dependencies - Add google-cloud-aiplatform for Vertex AI
- Add google-generativeai for PaLM API
- Add vertexai for Google AI integration
- Add supporting Google Cloud libraries
- Maintain existing dependency structure 14:36 fix: add missing Python dependencies - Add Pillow for PIL/image processing
- Add opencv-python-headless for image operations
- Add scikit-learn and scipy for ML operations
- Add dependencies in both builder and runtime stages
- Maintain existing dependency structure 14:25 fix: add missing Python dependencies - Add anthropic==0.23.1 for LLM support
- Add openai==1.12.0 for OpenAI integration
- Add flask-migrate==4.0.5 for database migrations
- Maintain existing dependency structure
- Keep NLTK downloader configuration 13:18 fix: add missing Python dependencies - Add openai package for LLM support
- Add flask-migrate for database migrations
- Update Flask CLI command in entrypoint.sh
- Fix Redis client initialization issue Nov 11, 2024 15:47 fix: improve Redis handling for HF Spaces - Add Redis installation check
- Add local Redis fallback for HF Spaces
- Improve Redis connection handling
- Add data directory for Redis persistence
- Fix Redis connection timeout issues 11:33 fix: improve database connection handling in entrypoint - Add timeout-based PostgreSQL connection check
- Implement max retry attempts (30 attempts, 5s between each)
- Add detailed connection attempt logging
- Maintain compatibility with existing Redis checks
- Exit gracefully if database connection fails after max attempts
References:
docker/entrypoint.sh (lines 1-33)
docker/docker-compose.yaml (lines 331-346) Nov 10, 2024 20:49 fix: update database environment variables in Dockerfile - Add explicit database configuration variables
- Match environment variables with docker-compose.yaml
- Ensure consistency between services 20:08 feat: optimize Dockerfile for HuggingFace Spaces deployment 14:51 feat: optimize Dockerfile for HuggingFace Spaces deployment 14:13 feat: optimize Dockerfile for HuggingFace Spaces deployment 14:00 feat: optimize Dockerfile for HuggingFace Spaces deployment 13:52 feat: optimize Dockerfile for HuggingFace Spaces deployment 12:11 feat: optimize Dockerfile for HuggingFace Spaces deployment 12:06 feat: optimize Dockerfile for HuggingFace Spaces deployment 11:59 feat: optimize Dockerfile for HuggingFace Spaces deployment 11:52 feat: optimize Dockerfile for HuggingFace Spaces deployment 11:46 feat: optimize Dockerfile for HuggingFace Spaces deployment 11:26 feat: optimize Dockerfile for HuggingFace Spaces deployment 11:16 feat: optimize Dockerfile for HuggingFace Spaces deployment 11:14 feat: optimize Dockerfile for HuggingFace Spaces deployment Nov 8, 2024 19:44 Update Dockerfile for correct directory structure 19:29 Update Dockerfile for correct directory structure 18:56 Update Dockerfile for correct directory structure 18:28 Update Dockerfile for correct directory structure 17:55 Update Dockerfile for correct directory structure 17:48 Update Dockerfile for correct directory structure 17:43 Update Dockerfile for correct directory structure 17:32 Update Dockerfile for correct directory structure 17:00 Update Dockerfile for correct directory structure 16:52 Update Dockerfile for correct directory structure 16:26 Update Dockerfile for correct directory structure 16:01 Update Dockerfile for correct directory structure 15:11 Update Dockerfile for correct directory structure 15:03 Update Dockerfile for correct directory structure 14:50 Update Dockerfile for correct directory structure