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?

gefragt vor 2 Monaten210 Aufrufe
1 Antwort
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
EXPERTE
beantwortet vor 2 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen