Comprehensive platform for hemoglobinopathy detection using advanced tech for patient care.
886
Run the Docker Image Locally:
Use the docker run command and pass the environment variables directly:
docker run -p 5000:5000 \
-e OPENAI_API_KEY=<your-key> \
-e TWILIO_ACCOUNT_SID=<your-sid> \
-e TWILIO_AUTH_TOKEN=<your-token> \
-e TWILIO_PHONE_NUMBER=<your-number> \
-e DEPLOY_WHATSAPP_SERVER=true \
hemoglobinopathy-analysis:latest
Replace <your-key>, <your-sid>, <your-token>, and <your-number> with the actual values of your environment variables.
Access the Application:
Once the container is running, you can access the application in your browser at http://localhost:5000.
If you prefer not to pass the environment variables directly in the command, you can use an .env file to store them. Here's how:
Create an .env File: Create a file named .env in the same directory as your Dockerfile and add the environment variables:
OPENAI_API_KEY=<your-key>
TWILIO_ACCOUNT_SID=<your-sid>
TWILIO_AUTH_TOKEN=<your-token>
TWILIO_PHONE_NUMBER=<your-number>
DEPLOY_WHATSAPP_SERVER=true
Run the Docker Image with the .env File:
Use the --env-file flag to pass the .env file to the container:
docker run -p 5000:5000 --env-file .env hemoglobinopathy-analysis
Content type
Image
Digest
sha256:c296aa143…
Size
3.4 GB
Last updated
over 1 year ago
docker pull echukwuka/hemoglobinopathy-analysis