Docker compose and external images multi-stage builds
I use Docker multi-stage build , specifically: Use an external image as a “stage” When using multi-stage builds, you are not limited to copying from stages you created earlier in your Dockerfile. You can use the COPY --from instruction to copy from a separate image, either using the local image name, a tag available locally or on a Docker registry, or a tag ID. The Docker client pulls the image if necessary and copies the artifact from there. The syntax is: In my case I have three Docker files. One Dockerfile simply defines an image, which I use as a build stage to share among two other