Skip to content

Commit f34ccd7

Browse files
authored
scripts
1 parent 4afa012 commit f34ccd7

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

create_heroku_app.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
heroku create $1

deploy_heroku_app.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
3+
sudo docker build -f multistage.Dockerfile -t registry.heroku.com/$1/web .
4+
5+
sudo docker push registry.heroku.com/$1/web
6+
7+
sudo heroku container:release web --app $1
8+
9+
sudo heroku logs --tail --app $1

0 commit comments

Comments
 (0)