This repository has been archived on 2021-12-24. You can view files and clone it, but cannot push or open issues/pull-requests.
self-hosting/firefly/Dockerfile

14 lines
360 B
Docker
Raw Normal View History

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