Wrong ML prediction inside the docker #235
-
Hi, I don't understand how this could be possible? I am using this config inside and outside of the docker.
Any idea how this could be possible? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There's no reason for what happens in the backend of the application layer to change regardless of containerization. In fact, containerization is there to prevent the "it works on my computer" problem. There's a high chance the globally installed packages on your computer are influencing your build. First, uninstall all your globally installed Python packages, then create a virtual env and make your project run there. Then you'll be able to use the Dockerfile in this project. |
Beta Was this translation helpful? Give feedback.
There's no reason for what happens in the backend of the application layer to change regardless of containerization. In fact, containerization is there to prevent the "it works on my computer" problem.
There's a high chance the globally installed packages on your computer are influencing your build.
First, uninstall all your globally installed Python packages, then create a virtual env and make your project run there. Then you'll be able to use the Dockerfile in this project.