CDCgov / cfa-config-validation

Modeling pipeline config validation microservice.
Apache License 2.0
0 stars 0 forks source link

Docker setup #8

Closed amondal2 closed 1 month ago

amondal2 commented 1 month ago

Addresses #3 --

  1. Creates Dockerfile to package api code into an image.
  2. Creates a docker-compose.yaml to automatically build and run the container.
  3. Updates repository structure to clean up Python imports and avoid PYTHONPATH errors in the container.

To test locally:

docker compose up
curl localhost:5000

I will create a separate issue to update the default server to use something more production-ready, like uWSGI or nginx before deploying to Azure.

zsusswein commented 1 month ago

Oh also I don't think Addresses has been working as a closing keyword for Github. You might want

Closes #3