This is an example of how to dockerize fastify application in very simple way.
- Fastify
 - pm2
 
pm2 is used for production process manager, so that fastify app can restart automatically when there is something any unhandled exception or errors occur.
docker build . -t fastify-trydocker run -p 3000:3000 fastify-try