【问题标题】:Deployin asp.net core 2.0 to Heroku将 asp.net core 2.0 部署到 Heroku
【发布时间】:2018-09-20 17:29:11
【问题描述】:

使用 asp.net 制作了一个应用程序,并按照article 中概述的说明进行操作 因为我使用的是 asp.net core 2.0。我让 docker 工作并安装了 Heroku cli 并完成了所有步骤,但在最后一个步骤中,当我尝试推送到 heroku 时,我在 CMD 中得到以下信息

docker push registry.heroku.com/contentfulmvc/web
The push refers to repository [registry.heroku.com/contentfulmvc/web]
2c234e510117: Preparing
31dc395828e7: Preparing
6b64c53efec1: Preparing
293afe5e1723: Preparing
f18d175ee906: Preparing
7f6e826a29cb: Waiting
3aa2beece40f: Waiting
38072758390c: Waiting
684665cf5198: Waiting
4c71181bb594: Waiting
1245b259e2fa: Waiting
67903cf26ef4: Waiting
error parsing HTTP 400 response body: unexpected end of JSON input: ""

我不知道为什么它不起作用。洞察力会有所帮助。

【问题讨论】:

    标签: docker heroku heroku-cli


    【解决方案1】:

    如果您尚未在 heroku 上创建应用程序,则会收到上述错误。您需要确保创建了一个应用并且在推送时引用了它。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-06-30
      • 1970-01-01
      • 2018-12-05
      • 2019-02-17
      • 2018-07-22
      • 2018-06-05
      • 1970-01-01
      相关资源
      最近更新 更多