玩2.5 dokku部署失败

Play 2.5 dokku failure to deploy

我正在尝试使用在具有 2gb ram 的数字海洋上设置的 dokku 实例来部署我的游戏应用程序。我收到错误

remote: App container failed to start!!
=====> edb-fend web container output:
       Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them.
       setuidgid: fatal: unable to run target/universal/stage/bin/edb-fend: file does not exist
=====> end edb-fend web container output

我试过谷歌搜索但一无所获。

更新

我发现 scala 构建包已过时并更新了它,但我仍然收到相同的错误。

我在 heroku 中遇到了完全相同的错误。问题是我的 build.sbt 文件中的应用程序名称是

name := "edb"

但是项目和 repo 被命名为 edb-fend。这不是唯一的原因,但我的 Procfile 正在寻找

web: target/universal/stage/bin/edb-fend

但激活器正在构建 edb。

我将 build.sbt 更改为 name := "edb-fend",现在可以使用了。