Skip to content

AssemblyAI-Examples/ml-fastapi-docker-heroku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy ML models with FastAPI, Docker, and Heroku

1. Develop and save the model with this Colab

Open Colab

2. Create Docker container

docker build -t app-name .

docker run -p 80:80 app-name

3. Create Git repo

If you clone this repo this step is not needed. Or you can delete this git repo with rm -rf .git and start with a new one:

git init
git add .
git commit -m "initial commit"
git branch -M main

4. Create Heroku project

heroku login
heroku create your-app-name
heroku git:remote your-app-name
heroku stack:set container
git push heroku main

About

Deploy ML models with FastAPI, Docker, and Heroku

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published