Dokku:应用程序容器启动失败/找不到服务器“”

Dokku: App container failed to start / Could not find server ""

我目前正在尝试使用 Dokku 执行我的应用程序的首次部署。不幸的是,我有一个错误:

-----> Discovering process types
       Procfile declares types -> web, webpack
-----> Releasing myapp...
-----> Deploying myapp...
-----> Checking for predeploy task
       No predeploy task found, skipping
-----> Checking for release task
       No release task found, skipping
-----> App Procfile file found
-----> DOKKU_SCALE file exists
=====> Processing deployment checks
       No CHECKS file found. Simple container checks will be performed.
       For more efficient zero downtime deployments, create a CHECKS file. See http://dokku.viewdocs.io/dokku/deployment/zero-downtime-deploys/ for examples
-----> Attempting pre-flight checks (web.1)
       Waiting for 10 seconds ...
remote:  !     App container failed to start!!
=====> myapp web container output:
       Could not find server "".
       Run `bin/rails server --help` for more options.

我想我的 Procfile 有问题,但我真的没看到:

web: bin/rails server -p ${PORT:-5000} -e $RAILS_ENV
webpack: NODE_ENV=production ./bin/webpack --watch --colors --progress
# dokku ps:scale myapp
-----> Scaling for myapp
proctype: qty
--------: ---
web:  1
webpack: 1

有什么想法吗?非常感谢您的帮助!

好的,这个问题很愚蠢。 puma gem 在开发组中,因此无法在生产中启动服务器。