awslabs / awslabs/amazon-app-runner-deploy
Can't Run Multiple Commands Under "Build command" Config?
- Dominant language
- TypeScript
- Stars
- 60
- Forks
- 34
- 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:

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

Does App Runner not support multiple build commands?
Contributor guide
Research direction
Start with the package.json scripts entry and reproduce the npm run migrate command through the existing App Runner build command configuration. Inspect the rollback error shown in the issue and determine whether multiple build commands are supported; done means establishing the supported command format or documenting the limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, node.js
- Domain
- build-system, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100