Vencovsky
Vencovsky

Reputation: 31635

How to specify the path for Procfile in AWS Elastic Beanstalk?

I'm making a monorepo nodejs app and I would like to specify a Procfile for each package in my monorepo.

So far what I found is that the Procfile file needs to be in the root folder.

How can I specify the path to the desired Procfile?

For example

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

And use the Procfile in packages/server/Procfile.

Upvotes: 1

Views: 3316

Answers (1)

Marcin
Marcin

Reputation: 238299

You can't change the path. Procfile must be in root of your application:

place a file named Procfile in the root directory of your application source.

Upvotes: 0

Related Questions