Add build version label to Dockerfile to enforce rebuilds when necessary
Zok213
9c1cc8f
Update requirements.txt to include requests library version 2.31.0, ensuring compatibility with the application and enhancing HTTP request capabilities.
Zok213
7358a9e
Refactor Dockerfile to improve file handling by replacing optional file copies with placeholder creation, ensuring a smoother build process and maintaining README.md content.
Zok213
0c96375
Remove .gitignore from .dockerignore to streamline Docker build context and avoid unnecessary file inclusion.
Zok213
663a679
Update Dockerfile to streamline application file copying and create README if missing; revise README.md for clarity on Hugging Face deployment.
Zok213
95ccedb
Refactor app.py to transition from Flask to FastAPI, enhancing the API with WebSocket support for real-time notifications, improved session handling, and background processing for unanswered questions. Update Dockerfile for compatibility with FastAPI and streamline application setup. Revise README.md to reflect new features and API endpoints.
Zok213
a52d88d
Improve MongoDB connection handling in app.py by cleaning up the URI format, enhancing logging for connection attempts, and adding debug information for environment variables, while maintaining security by excluding sensitive data.
Zok213
026aab7
Enhance MongoDB URI validation in app.py by adding detailed error messages for missing or incorrectly formatted URIs, improving error handling and user guidance.
Zok213
da18dc5
Refactor Dockerfile to simplify swagger.json creation using echo instead of Python script, improving readability and maintainability.
Zok213
3cf2a26
Enhance logging and debugging capabilities in app.py; add new debug routes and improve health check response. Update .gitignore to include new test files and modify Dockerfile to create log directory with appropriate permissions.
Zok213
61c8727
Update Dockerfile to copy swagger.json to static directory and remove Swagger generation during build
Zok213
2513b05
Refactor JSON handling in app.py to use bson.json_util for serialization and update Dockerfile to fix import path for json_util