Changes:
- Add Dockerfile Configuration section with code example
- Document Debian-based image choice (python:3.11-slim)
- Add all system dependencies (libgl1, libsm6, etc.)
- Extend Common Issues with Docker build troubleshooting
- New CI/CD section for Gitea Actions
- Document both workflows (autobuild and manual)
- Add required secrets and registry configuration
- Add version history overview
Changes:
- Replace libgl1-mesa-glx with libgl1
- Add libsm6, libxext6, libxrender-dev for OpenCV
- Add libgomp1 for OpenMP support
- Better package selection for python:3.11-slim base
Changes:
- Use python:3.11-slim instead of python:3.11-alpine
- Install libgl1-mesa-glx and libglib2.0-0 for rembg dependencies
- Remove gcc and musl-dev (not needed in Debian)
- Fixes build errors with opencv-python-headless, numba, and llvmlite
- Debian provides better support for Python packages with C extensions
Features:
- docker-autobuild.yaml: Automated builds on push to main/master
- Path ignores for markdown/docs files
- Docker Buildx with caching support
- Automatic cleanup after builds
- docker-build.yaml: Manual builds with flexible options
- Custom version tags
- Additional tags support (e.g., stable,production)
- Toggle latest tag
- Docker Buildx with layer caching
Both workflows:
- Use registry credentials from Gitea secrets
- Support local registry at 192.168.88.201:5000
- Proper login/logout handling
- Optimized for sticker-bot project