Files
docker-monica/Dockerfile
Roger Sikorski a848aa64d6
Some checks failed
docker-monica-build mr / dockerfile_lint (push) Successful in 3s
docker-monica-build mr / build (push) Has been cancelled
feature/docker-update
2024-05-11 13:44:17 +02:00

19 lines
558 B
Docker

# https://hub.docker.com/_/monica
FROM monica:4.1
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 && \
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"]