diff --git a/.hadolint.yaml b/.hadolint.yaml new file mode 100644 index 0000000..81540f9 --- /dev/null +++ b/.hadolint.yaml @@ -0,0 +1,2 @@ +ignored: + - DL3008 # no need to pin versions diff --git a/Dockerfile b/Dockerfile index 7000346..53c8cf5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,11 @@ # https://hub.docker.com/_/monica FROM monica:4 -# Use the default production configuration -RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" -# increase php upload limit -RUN sed -i 's/upload_max_filesize = 2M/upload_max_filesize = 50M/' "$PHP_INI_DIR/php.ini" +RUN \ + # Use the default production configuration + mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" && \ + # increase php upload limit + sed -i 's/upload_max_filesize = 2M/upload_max_filesize = 50M/' "$PHP_INI_DIR/php.ini" # supervisord dependencies RUN apt-get update && \