Sign inSign up

echukwuka/hemoglobinopathy-analysis

By echukwuka

Updated over 1 year ago

Comprehensive platform for hemoglobinopathy detection using advanced tech for patient care.

Image
Machine learning & AI
Web servers
Content management system
1

886

echukwuka/hemoglobinopathy-analysis repository overview

  1. 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.

  2. Access the Application: Once the container is running, you can access the application in your browser at http://localhost:5000.

Optional: Use an .env File

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:

  1. 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
    
  2. 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
    

Tag summary

Content type

Image

Digest

sha256:c296aa143

Size

3.4 GB

Last updated

over 1 year ago

docker pull echukwuka/hemoglobinopathy-analysis