Files
docker-monica/Dockerfile
Roger Sikorski 7d4121a9e2
All checks were successful
continuous-integration/drone Build is passing
Dockerfile: upload limit increased
2022-02-18 08:43:54 +01:00

16 lines
521 B
Docker

FROM monica:apache
# 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"
# 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"]