Zac Soh
Zac Soh

Reputation: 1

AWS Elastic Beanstalk Override the initial command 'npm start' to 'pnpm start'

Previous EB UI provide a 'Command Box' to allow us override the initial command. But now the new UI I just cannot find this field anywhere.

I am using NodeJS EB platform.

Or is there any way to run the pnpm start instead of npm start through the .ebextension?

Upvotes: 0

Views: 435

Answers (1)

Alexander
Alexander

Reputation: 2558

Try adding Procfile in root directory with content:

web: pnpm start

See also official documentation.

Upvotes: 0

Related Questions