【文件属性】:
文件名称:test3
文件大小:4KB
文件格式:ZIP
更新时间:2021-03-27 16:49:46
Dockerfile
heroku-docker-nginx-示例
Barebones部署到Heroku的示例。 在根目录中提供示例html文件。
现在就试试!
只需单击一下即可在上启动nginx代理:
手动部署
您将需要创建一个Heroku帐户并安装Heroku CLI,例如。 brew install heroku 。
git clone git@github.com:rjoonas/heroku-docker-nginx-example.git
cd heroku-docker-nginx-example
heroku container:login
heroku create
heroku container:push web
heroku container:release web
heroku open
【文件预览】:
test3-main
----.dockerignore(39B)
----heroku.yml(37B)
----Dockerfile(302B)
----LICENSE.md(1KB)
----README.md(737B)
----static-html()
--------index.html(1B)
----nginx.conf(290B)
----default.conf.template(129B)
----.editorconfig(173B)
----app.json(330B)