AttributeError in Docker image build
aplaza1 opened this issue · 0 comments
aplaza1 commented
I tried to run to run and build and run the docker image, and then call the v1/apod endpoint and I get the following error:
AttributeError: apod/utility:module 'collections' has no attribute 'Callable'
Looks like the problem has to do with the version of python being used in the image: https://groups.google.com/g/rethinkdb/c/E6zG7EP_jEc
It worked after I changed the alpine image to use python 3.9. I recommend locking the alpine version in the Dockerfile instead of using the latest.