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?

feita há 2 meses210 visualizações
1 Resposta
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
ESPECIALISTA
respondido há 2 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas