aws / aws/apprunner-roadmap

Can't Run Multiple Commands Under "Build command" Config?

Open
#241 4 comments 1 reaction 0 assignees View on GitHub
Dominant language
No language data
Stars
301
Forks
15
PR merge metrics
No merged PRs in 30d

Description

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:

![1](https://github.com/aws/apprunner-roadmap/assets/2464164/20fd8183-863d-4f1e-af0d-57c639e37eae)

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

![2](https://github.com/aws/apprunner-roadmap/assets/2464164/62fcdd76-328f-4a6b-ac57-9cde1cd3df59)

Does App Runner not support multiple build commands?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.