Skip to content

Wrong ML prediction inside the docker #235

Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tiangolo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #76 on August 25, 2024 03:31.