You can add your own dependencies in much the same way.
In Order To
Push your AWS keys into the container
Mount your app for launching
Try to make web server files visible to the container
Your app output Logs
Separate your JAVAMonitor Settings
Example Stub Initializes a new EC2 Instance