Learn to create a Python Jupyter Notebook Server with Docker & Heroku. This series builds gives you a step-by-step reference to deploy an interactive notebook to allow your projects to be more literal while making it easier for non-technicals to run your code.
Jupyter is a tool for running interactive notebooks; basically add Python with Markdown and you’ve got Jupyter. if you haven’t used it before, I recommend you do.
Docker is a tool that gives us control over our application’s OS environment. Think of it like a recipe for your OS that you can share almost anywhere. In this one, we’ll be covering deploying this project to Heroku but using Docker means we can deploy this nearly anywhere.
In this series, I’m going to show you how to deploy a Jupyter Notebook server on Heroku using Docker step-by-step.
The big caveat
Jupyter has the ability to create new notebooks and they will 100% save on your deployed docker-based Jupyter server… but they will disappear as soon as you deploy a new version. That’s because containers, by their very nature, are ephemeral by default.
This caveat doesn’t mean we shouldn’t do this… it just means it is a HUGE consideration when using this guide over something like Google Colab.