It seem like that you build all the staff in one image. But as the official `Best Practices` says: [Run only one process per container](https://docs.docker.com/articles/dockerfile_best-practices/#run-only-one-process-per-container).