NetMedEx is container-ready and can be easily deployed using Docker.
- Docker installed on your host machine.
- OpenAI API Key (for RAG/Semantic features).
Run the following command in the project root directory:
docker build -t netmedex:v0.9.5 .To run the application, you need to provide your OpenAI API key as an environment variable (or use a local LLM).
docker run -d \
-p 8050:8050 \
-e OPENAI_API_KEY="your-api-key-here" \
--name netmedex-app \
netmedex:v0.9.5Important
Access the Application: Once the container is running, open your browser and go to: http://localhost:8050
You can customize the deployment using environment variables:
PORT: Internal port (default: 8050)workers: Number of Gunicorn workers (default: 2, modify in Dockerfile CMD)threads: Threads per worker (default: 4, modify in Dockerfile CMD)
- The Docker image uses Gunicorn as a production-grade WSGI server.
- The base image is
python:3.11-slim-bookwormfor a small footprint.