Amazon AWS App Runner - Can't Run Multiple Commands Under "Build command" Config?

0

I have the following in my package.json file:

"scripts": {
    "migrate": "knex migrate:latest"
},

Running npm run migrate works fine on my local machine. When I try to add this command onto my existing build command:

Enter image description here

App Runner always gives an error and rolls back my change:

Enter image description here

Does App Runner not support multiple build commands?

asked a month ago197 views
1 Answer
1

Probably you should verify that App Runner can reach your database and that the security groups and network ACLs allow traffic from App Runner to your database.

profile picture
EXPERT
answered a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions