Files
docker-monica/Dockerfile
Roger Sikorski cfc7fb970e
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
Dockerfile: shorter code
2021-10-01 18:32:56 +02:00

14 lines
403 B
Docker

FROM monica:apache
# Use the default production configuration
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
# supervisord dependencies
RUN apt-get update && \
apt-get full-upgrade -y && \
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"]