mirror of
https://gitee.com/dcren/initializr.git
synced 2025-05-03 20:28:01 +08:00
Update manifest to use new buildpack
Previously the manifest for this application was configured such that it used a custom command to start itself (based on Spring Boot). This change removes that custom command and substitutes in the new Java buildpack which takes care of all of the things that command previously did. A byproduct of this is that as improvements are made to the main buildpack they will automatically get included in future pushes of the application. An example of this is that now, if a New Relic service is bound to the application, the application will automatically be configured to use it. [#54518830]
This commit is contained in:
parent
16f001e33d
commit
453bb7334f
@ -6,5 +6,4 @@ applications:
|
||||
host: initializr
|
||||
domain: cfapps.io
|
||||
path: .
|
||||
command: java -jar ./spring/lib/*.jar run --cp . --local app.groovy -- --server.port=$PORT
|
||||
# buildpack: https://github.com/dsyer/cloudfoundry-buildpack-java
|
||||
buildpack: https://github.com/cloudfoundry/java-buildpack
|
||||
|
@ -1 +0,0 @@
|
||||
java.runtime.version=1.6
|
Loading…
Reference in New Issue
Block a user