我正在尝试使用 docker 图像在 Heroku 上部署应用程序https://github.com/valasek/timesheet 。应用程序在前端有一个 go 后端 (negroni/gorilla) 和 Vue.js/Vuetify.js,并且正在使用 PostgreSQL 持久性。
我坚持部署。我不知道如何调试,如何显示命令行输出,什么是失败的......以及任何帮助非常感谢。
相关 Dockerfile - https://github.com/valasek/timesheet/blob/master/Dockerfile
以下是我正在执行的步骤:
> docker build --rm -f "Dockerfile" -t timesheet:latest .
Successfully tagged timesheet:latest
...
> heroku container:push timesheet:latest --app timesheet-cloud
...
The push refers to repository [registry.heroku.com/timesheet-cloud/timesheet]
...
Your image has been successfully pushed. You can now release it with the 'container:release' command.
> heroku container:release timesheet --app timesheet-cloud
Releasing images timesheet to timesheet-cloud... done
> heroku ps -a timesheet-cloud
Free dyno hours quota remaining this month: 971h 8m (97%)
Free dyno usage for this app: 0h 0m (0%)
For more information on dyno sleeping and how to upgrade, see:
https://devcenter.heroku.com/articles/dyno-sleeping
慕容3067478
杨魅力
相关分类