iterative / mlem

🐶 A tool to package, serve, and deploy any ML model on any platform. Archived to be resurrected one day🤞
https://mlem.ai
Apache License 2.0
716 stars 44 forks source link

Possible to deploy to Dokku? #217

Open cwerner opened 2 years ago

cwerner commented 2 years ago

Hi 👋

i just discovered MLEM and was intrigued by the deploy options. In the tutorial it is mentioned that one can deploy to Heroku. Since dokku also uses heroku buildpacks I was wondering if dokku could be a deploy target, too?

Cheers

mike0sv commented 2 years ago

We dont use buildpacks with Heroku since we build custom docker images for each model and deploy them to heroku. Dokku docs mention they can work with images too here, but the link is broken I think. Do you know if they dokku really supports this?

mike0sv commented 2 years ago

Also, we can try and use it with our docker dir packager and deploy from dockerfile in dokku, but I need to dig deeper into dokku API to say for sure

cwerner commented 2 years ago

Great to hear.

I only ever used the Procfile (heroku build pack) route with dokku, but it seems one can also simply push a Dockerfile... https://dokku.com/docs/deployment/builders/dockerfiles/

Would be a great feature if available since I find dokku a nice cheap on-prem solution for smaller deploys.

Thanks for looking into it