Skip to content

Commit fcd07db

Browse files
authored
Update deploy_heroku_app.sh
1 parent 578bde0 commit fcd07db

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

backend/deploy_heroku_app.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
#!/bin/bash
22

3-
#mvn spring-boot:build-image -Dspring-boot.build-image.imageName=registry.heroku.com/$1/web
3+
docker build -f Dockerfile -t $1 .
44

5-
docker build -f heroku.Dockerfile -t $1 .
5+
docker tag $1 registry.heroku.com/$1/web
6+
7+
heroku git:remote -a $1
8+
9+
heroku container:login
610

711
docker push registry.heroku.com/$1/web
812

0 commit comments

Comments
 (0)