Deploying GBC MedAI using Docker is the most recommended deployment method, as described below:
- Ensure that Docker is installed
- Execute the build command in the project root directory:
docker build -t gbc-madai .
- Run the container:
docker run -d -p 8000:8000 --env-file .env gbc-madai
Once deployed, it can be accessed at the following address:
- Front-end access: http://localhost:8000/
- API documentation address (Swagger UI): http://localhost:8000/docs
Docker deployment simplifies the environment configuration process, improves deployment stability and convenience, and is particularly suitable for production environments.
This answer comes from the articleGBC MedAI: An Intelligent Medical Assistant with Access to Multiple AI Models and Search EnginesThe