FROM monica:4.0-apache # Use the default production configuration RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" # supervisord dependencies RUN set -ex; \ \ apt-get update; \ apt-get install -y --no-install-recommends \ supervisor \ ; \ rm -rf /var/lib/apt/lists/* COPY supervisord.conf /etc/supervisord.conf CMD ["supervisord", "-c", "/etc/supervisord.conf"]