10 lines
276 B
Docker
10 lines
276 B
Docker
|
FROM jc5x/firefly-iii:latest
|
||
|
|
||
|
# Install cron & crontab
|
||
|
RUN apt update && \
|
||
|
apt install --no-install-recommends -y cron && \
|
||
|
echo "0 */4 * * * /usr/bin/php /var/www/html/artisan firefly-iii:cron" | crontab
|
||
|
|
||
|
# Run cron on startup
|
||
|
ENTRYPOINT cron && /usr/local/bin/entrypoint.sh
|