Dockerfile: shorter code
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing

This commit is contained in:
2021-10-01 18:32:56 +02:00
parent 19af0e7373
commit cfc7fb970e

View File

@@ -1,19 +1,12 @@
FROM monica:apache
RUN apt-get update && \
apt-get full-upgrade -y && \
rm -rf /var/lib/apt/lists/*
# 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 \
; \
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