Say I have the following Dockerfile:
FROM ubuntu RUN apt-get update RUN apt-get install -y apache2 RUN apt-get install -y mongod #pretend this exists EXPOS
I can think of several ways:
ADD
ENTRYPOINT
service mongod start && /usr/sbin/apache2