Files
logo-txt/Dockerfile
Seth Van Niekerk 954cd87a20 build: optimize Docker image and switch to production server
- Add --no-install-recommends flag to apt-get to reduce image size
- Add ca-certificates package for secure HTTPS connections
- Clean pip cache after installing dependencies (rm -rf /root/.cache/pip)
- Replace Flask development server with Gunicorn for production deployment
- Configure Gunicorn with 4 workers, 120s timeout, and access/error logging
- Binding to 0.0.0.0:5001 for container networking
2026-01-17 13:47:09 -05:00

4.6 KiB