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?

posta 2 mesi fa210 visualizzazioni
1 Risposta
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
ESPERTO
con risposta 2 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande