Files
docker-monica/Dockerfile
Roger Sikorski cb15a68c2d
All checks were successful
Docker Build Workflow / Lint Dockerfile (push) Successful in 4s
Docker Build Workflow / Build and Push Docker Image (push) Successful in 42s
feature/use-buildkit (#11)
Reviewed-on: #11
2025-10-31 12:03:30 +01:00

21 lines
633 B
Docker

# https://hub.docker.com/_/monica
# Default to 'latest' if GIT_TAG is not provided
ARG GIT_TAG=latest
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"]