rstudio / vetiver-python

Version, share, deploy, and monitor models.
https://rstudio.github.io/vetiver-python/stable/
MIT License
60 stars 17 forks source link

Unable to run dockerfile: app.py being renamed to app #135

Closed machow closed 1 year ago

machow commented 1 year ago

When I attempt to run the Dockerfile generated in the deploy-with-docker page of the docs, I get the error:

ModuleNotFoundError: no module named app

I shelled into the container with the command docker run -it -p 8080:8080 superbowlads /bin/bash, and it looks like app.py gets renamed to app.

It seems like tweaking this line to name it app.py should fix? (But I could also be doing something wrong..!)