fix: Clean up Docker configuration and resolve build issues

- Fix Windows line endings (CRLF) in docker-build.sh script
- Remove deprecated 'version' field from docker-compose.dev.yml
- Standardize database URL paths across compose files
- Optimize Dockerfile.production with better pip upgrade handling
- Improve health check timings for better container startup
- Add comprehensive Docker usage documentation
- Ensure all Docker files use consistent formatting and best practices

All Docker builds now work correctly and containers start successfully.
This commit is contained in:
HotSwapp
2025-09-04 17:54:57 -05:00
parent a7a03f8369
commit 16d7455f85
5 changed files with 90 additions and 11 deletions

View File

@@ -49,7 +49,7 @@ USER delphi
EXPOSE 8000
# Health check
HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 \
HEALTHCHECK --interval=30s --timeout=10s --start-period=40s --retries=3 \
CMD curl -f http://localhost:8000/health || exit 1
# Start command