Skip to content

Commit fc94571

Browse files
15 - Deploy to Heroku
1 parent 8560f34 commit fc94571

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

Deploy.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
- Related Post [section 7](https://www.codingforentrepreneurs.com/blog/jupyter-production-server-on-docker-heroku)
2+
- Heroku [container docs](https://devcenter.heroku.com/articles/container-registry-and-runtime)
3+
- [Heroku CLI](https://devcenter.heroku.com/articles/heroku-cli)
4+
- [Serverless Container Python App](https://www.codingforentrepreneurs.com/projects/serverless-container-python-app)
5+
6+
```
7+
heroku create jupyter-resty
8+
```
9+
> Replace `jupyter-resty` with the app name of your choosing
10+
11+
```
12+
heroku container:login
13+
```
14+
15+
16+
```
17+
docker tag jupyter-resty registry.heroku.com/jupyter-resty/web
18+
docker push registry.heroku.com/jupyter-resty/web
19+
```
20+
> Replace `jupyter-resty` with the app name of your choosing
21+
22+
```
23+
heroku container:push --recursive
24+
```
25+
> heroku container:push web if you have want to specificy a process
26+
27+
28+
```
29+
heroku container:release web
30+
```
31+
32+
```
33+
heroku run bash --type web
34+
```
35+
36+
```
37+
heroku open
38+
```

0 commit comments

Comments
 (0)