Docker and container image are becoming the de-facto packaging format when it comes to deploying applications into a cluster of machines.
If you are new to Docker and containers, you can learn more in this video:
But, if you didn't watch the whole video, that's OK! Long story short, try not write your own Dockerfile to build a production container image. There are too many best practices to learn/apply. See the Container Image section for automated tools that can create optimized container images by default.