title: Start Nginx from php fpm image automatically
body: <p>I have the following Dockerfile</p>
  
  <pre><code>FROM php:7.2-fpm
  
  LABEL maintainer="youri@smilinggents.nl"
  
  RUN apt-get update &amp;&amp; \
      apt-get install -y nginx git zip
  
  COPY default.conf /etc/nginx/conf.d/default.conf
  
  RUN apt-get update &amp;&amp; \
      apt-get install -y libpng-dev libxml2-dev libcurl3-dev libcurl4-openssl-dev &amp;&amp; \
      docker-php-ext-install gd &amp;&amp; \
      docker-php-ext-install soap &amp;&amp; \
      docker-php-ext-install pdo_mysql &amp;&amp; \
      docker-php-ext-install intl &amp;&amp; \
      docker-php-ext-install zip
  
  RUN curl -sS https://getcomposer.org/installer | php &amp;&amp; mv composer.phar /usr/local/bin/composer
  
  WORKDIR /var/www/pidz/
  
  RUN mkdir ./var/
  COPY ./app app
  COPY ./bin bin
  COPY ./src src
  COPY ./web web
  COPY ./composer.json composer.json
  COPY ./composer.lock composer.lock
  
  ARG SSH_PRIVATE_KEY
  # some ssh stuff I perform
  
  RUN export SYMFONY_ENV=staging &amp;&amp; \
      composer install
  
  EXPOSE 80
  </code></pre>
  
  <p>When I build the Dockerfile</p>
  
  <pre><code>docker build . --build-arg SSH_PRIVATE_KEY="$(cat ~/.ssh/id_rsa)"
  </code></pre>
  
  <p>And run the image</p>
  
  <pre><code>docker run -p 80:80 &lt;image&gt;
  </code></pre>
  
  <p>Nginx is not running, but when I run <code>nginx</code> inside the container Nginx is started</p>
  
  <p>How can I make Nginx starting automatically?</p>