#Python - Docker Error
8 messages · Page 1 of 1 (latest)
Does it run correctly outside of the docker container?
Yes, seems so. port is having duplicate issue thou
Well since it runs that makes me think you have different versions of the packages installed. Did you use Python 10 when running it outside of the container?
erm I am running python 3.9.6 on macOS
Hmm is the code in the docker container actually the code you shared? It's expecting you to use the methods keyword in the route decorator but it's getting method instead. The code you shared is correct, so I'm confused why the error message says it's incorrect.
Did you change the keyword from method to methods at some point?
Yes but it didnt work either.