From cfc7fb970e668562d0416bec52451c25af8de4e6 Mon Sep 17 00:00:00 2001 From: Roger Sikorski Date: Fri, 1 Oct 2021 18:32:56 +0200 Subject: [PATCH] Dockerfile: shorter code --- Dockerfile | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9bad3d5..7945098 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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