Commit History
-
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 optimization475aa4b -
Setup Dify for HF Spaces deployment with optimized Docker configuration
e26861f
-
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 installations7752907 -
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 installationfd3e8ba -
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 installation9d4903c
-
build: force rebuild with package installation fixes
cfa129e -
fix: update Dockerfile to properly handle package installation
c3121a2 -
fix: update Dockerfile to properly handle package installations
302aead
-
fix: optimize Dockerfile for Hugging Face Spaces deployment
90f57a2 -
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 install953b0b8 -
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 structure0bebcbb -
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 stagesa60b16f -
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 stagesb0e1ebe -
fix: update dependencies in Dockerfile
- Remove nvidia-triton-client due to compatibility issues - Use tritonclient[all] for NVIDIA Triton support - Maintain existing dependency structurea7e3653 -
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 structure2d243ea -
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 structure766f3df -
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 structure2fe8636 -
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 configurationbb0f534 -
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 issuef8b477a
-
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 issues0eddad0 -
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)08efa7b
-
fix: update database environment variables in Dockerfile
- Add explicit database configuration variables - Match environment variables with docker-compose.yaml - Ensure consistency between servicesaf52db4 -
feat: optimize Dockerfile for HuggingFace Spaces deployment
0848c81 -
feat: optimize Dockerfile for HuggingFace Spaces deployment
a300380 -
feat: optimize Dockerfile for HuggingFace Spaces deployment
96427a6 -
feat: optimize Dockerfile for HuggingFace Spaces deployment
fbd2dcf -
feat: optimize Dockerfile for HuggingFace Spaces deployment
e2f2d84 -
feat: optimize Dockerfile for HuggingFace Spaces deployment
5bb43a7 -
feat: optimize Dockerfile for HuggingFace Spaces deployment
778adb9 -
feat: optimize Dockerfile for HuggingFace Spaces deployment
dbd0c54 -
feat: optimize Dockerfile for HuggingFace Spaces deployment
74adc3c -
feat: optimize Dockerfile for HuggingFace Spaces deployment
9e1a8e1 -
feat: optimize Dockerfile for HuggingFace Spaces deployment
5fc6cff -
feat: optimize Dockerfile for HuggingFace Spaces deployment
9130493 -
feat: optimize Dockerfile for HuggingFace Spaces deployment
51364f2
-
Update Dockerfile for correct directory structure
b0b39f1 -
Update Dockerfile for correct directory structure
64cf3a5 -
Update Dockerfile for correct directory structure
b2b04b8 -
Update Dockerfile for correct directory structure
0ae370c -
Update Dockerfile for correct directory structure
9f4c1e4 -
Update Dockerfile for correct directory structure
1f54115 -
Update Dockerfile for correct directory structure
45ac7d0 -
Update Dockerfile for correct directory structure
22d5035 -
Update Dockerfile for correct directory structure
0df77ff -
Update Dockerfile for correct directory structure
61e7c18 -
Update Dockerfile for correct directory structure
070b654 -
Update Dockerfile for correct directory structure
4b5756e -
Update Dockerfile for correct directory structure
93dd07b -
Update Dockerfile for correct directory structure
24a6514 -
Update Dockerfile for correct directory structure
e6f660c