use less run
Some checks failed
docker-monica-build mr / Ddockerfile lint (push) Successful in 5s
docker-monica-build mr / build (push) Failing after 1s

Signed-off-by: Roger Sikorski <roger@sikorski.cloud>
This commit is contained in:
2023-07-30 20:34:36 +02:00
parent d7dcf756c3
commit 127be7c42a
2 changed files with 7 additions and 4 deletions

2
.hadolint.yaml Normal file
View File

@@ -0,0 +1,2 @@
ignored:
- DL3008 # no need to pin versions

View File

@@ -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 && \