FROM jc5x/firefly-iii:version-5.5.8 ARG LOCALE # Install cron; setup locales RUN apt update && \ apt install --no-install-recommends -y cron && \ echo "0 */4 * * * php /var/www/html/artisan firefly-iii:cron" | crontab && \ echo "$LOCALE.UTF-8 UTF-8" >> /etc/locale.gen && \ locale-gen # Run cron on startup ENTRYPOINT cron && /usr/local/bin/entrypoint.sh