This repository has been archived on 2021-12-24. You can view files and clone it, but cannot push or open issues/pull-requests.
2021-04-20 15:40:03 +02:00
|
|
|
FROM jc5x/firefly-iii:version-5.5.8
|
2021-01-11 09:48:47 +01:00
|
|
|
|
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 15:20:43 +01:00
|
|
|
echo "0 */4 * * * php /var/www/html/artisan firefly-iii:cron" | crontab && \
|
2021-01-11 10:01:03 +01:00
|
|
|
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
|