Grails applications are deployed as Web Application Archives (WAR files), and Grails includes the
war command for performing this task:
This will produce a WAR file in the root of your project which can then be deployed as per your containers instructions.
NEVER deploy Grails using the run-app command as this command sets Grails up for auto-reloading at runtime which has a severe performance and scalability implication
When deploying Grails you should always run your containers JVM with the
-server
option and with sufficient memory allocation. A good set of VM flags would be: