- Disable normal asset compilation
- Make sure npm is updated to 3.5.0
- Add commands to make sure #2 is done before app code is deployed
- Use container commands to do npm install and precompile assets
commands:
00_update_npm:
command: "sh /tmp/install_node_npm.sh"
container_commands:
01_npm_install:
command: npm install --unsafe-perm
02_precompile_assets:
command: bundle exec rake assets:precompile