spring boot procfile run profile
web: java -Dserver.port=$PORT $JAVA_OPTS -jar target/demo-0.0.1-SNAPSHOT.jar
- web
: Indicates that the application will be deployed as a web application.
- java
: Executes the Java runtime environment.
- -Dserver.port=$PORT
: Sets the server port to the value specified by the environment variable $PORT
.
- $JAVA_OPTS
: Passes Java options as environment variables.
- -jar target/demo-0.0.1-SNAPSHOT.jar
: Executes the JAR file located at the specified path.