I want to build my Angular project on the bluemix deploy pipeline. I have tried to create a new build order with a shell script but it just fails. What is the best practice for building the project on Bluemix?
Ex. "ng build --base-href /.../"
From the project directory, Add manifest.yml
file. Check for the buildpack below.
applications:
- path: .
memory: 128M
instances: 1
domain: mybluemix.net
name: your_project_name
host: your_host_name
disk_quota: 128M
buildpack: staticfile_buildpack
ng build
command from the project directory. cf login
cf push <app-name>
Your app should be deployed in bluemix. Hope this helps.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.