What Should Actually Ship in Your Production Docker Image?
Try this on the last image you shipped:
docker run -it --entrypoint sh <your-image>
Now look around. In many images you'll find a package manager, compilers, your full source code, test files, and so