Skip to Content
DEVOPS

Docker

Docker from your first container to a Compose file you can explain. Start here if you have never run one.

0 likes
Stop Shipping node_modules in the Image Level: Intermediate

Keep node_modules out of the build context with a .dockerignore file and let npm ci install the packages inside the image. After this, you can cut the context size and avoid copying Windows-built packages into a Linux image.