19 lines
563 B
Docker
19 lines
563 B
Docker
# https://hub.docker.com/_/monica
|
|
FROM monica:$GIT_TAG
|
|
|
|
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"]
|