【问题标题】:How to specify the path for Procfile in AWS Elastic Beanstalk?如何在 AWS Elastic Beanstalk 中指定 Procfile 的路径?
【发布时间】:2021-05-05 07:41:30
【问题描述】:

我正在制作一个 monorepo nodejs 应用程序,我想为我的 monorepo 中的每个包指定一个 Procfile

到目前为止,我发现Procfile 文件需要在根文件夹中。

如何指定所需Procfile 的路径?

例如

my-app/
  packages/
    server/
      ...other files
      Procfile 
    web/
      ...other files

并在packages/server/Procfile 中使用Procfile

【问题讨论】:

    标签: node.js amazon-web-services amazon-elastic-beanstalk


    【解决方案1】:

    您无法更改路径。 Procfile 必须在您的应用程序的根目录中:

    将名为 Procfile 的文件放在应用程序源的根目录中

    【讨论】:

      猜你喜欢
      • 2021-01-21
      • 2021-12-14
      • 2020-05-30
      • 2017-09-07
      • 1970-01-01
      • 1970-01-01
      • 2020-08-11
      • 2018-06-26
      • 2020-01-10
      相关资源
      最近更新 更多