This repository contains two things:
- A
Dockerfile
, which installs scikit-learn with miniconda, and a few pip dependencies. - A Flask
webapp
, which utilizes basic functionality ofscikit-learn
.
All Anaconda packages are supported—scikit-learn
is just being used here as an example.
☤ Advantages over Conda Buildpack:
- No slug size limit (Anaconda packages can be very large).
- Exact Miniconda environment, from Continuum Analytics.
Deploy with the Container Registry and Runtime:
$ heroku plugins:install heroku-container-registry
$ heroku container:login
$ git clone https://github.com/heroku-examples/python-miniconda
$ cd python-miniconda
$ heroku create
$ heroku container:push web
✨🍰✨