I created a Dockerfile to construct a container for a web application that relies on Mongo.
For Mongo I want to use a seperate Mongo container.
Is there a way to link to the Mongo container when building the app container? Otherwise it is not possible to add a ‘RUN’ statement which automatically starts the web app when the container is build. I want to rely on the environment settings set when linking to another container, but those settings are not available when the other container is not linked.