We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 578bde0 commit fcd07dbCopy full SHA for fcd07db
backend/deploy_heroku_app.sh
@@ -1,8 +1,12 @@
1
#!/bin/bash
2
3
-#mvn spring-boot:build-image -Dspring-boot.build-image.imageName=registry.heroku.com/$1/web
+docker build -f Dockerfile -t $1 .
4
5
-docker build -f heroku.Dockerfile -t $1 .
+docker tag $1 registry.heroku.com/$1/web
6
+
7
+heroku git:remote -a $1
8
9
+heroku container:login
10
11
docker push registry.heroku.com/$1/web
12
0 commit comments