Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt Dockerfile for deployment #9

Merged
merged 3 commits into from
Oct 28, 2024

Conversation

nanglo123
Copy link
Contributor

@nanglo123 nanglo123 commented Oct 28, 2024

This PR changes the Dockerfile to install Python3.11 dev instead of Python3.11 so that we can install python packages that contain c files (i.e. adeft which is a dependency for gilda). Additonally, we remove an unnessary git clone statement of the outbreak_kg project to avoid adding duplicate files to the docker container.

The container REST api has been tested with the curl command:
curl -X GET "http://0.0.0.0:8771/search" \ -H "Content-Type: application/json" \ -d '{ "timestamp": "2000-10-22 19:50:00", "geolocation": "North Carolina", "pathogen": "West Nile virus", "disease": "Gerodermia osteodysplastica", "symptom": "Bone Diseases, Metabolic" }'

@bgyori bgyori changed the title Install Python3.11 dev and remove git clone statement Adapt Dockerfile for deployment Oct 28, 2024
@bgyori
Copy link
Member

bgyori commented Oct 28, 2024

The changes here are made mainly for compatibility with the current AWS server environment.

@bgyori bgyori merged commit 71216ae into gyorilab:master Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants