@@ -27,7 +27,7 @@ task dockerBuilder(type: Docker) {
applicationName = 'fw'
tagVersion = jar.version
addFile("./${jar.baseName}-${jar.version}.jar","app.jar")
- entryPoint(["java","-Djava.security.egd=file:/dev/./urandom","-jar",'app.jar'])
+ entryPoint(["java","-Xmx512m -Xms512m -Xmn256m -Xss128k","-Djava.security.egd=file:/dev/./urandom","-jar",'app.jar'])
exposePort(11000)
doFirst {
copy {