mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-07 13:41:23 +00:00
Update cron docker image to use Debian
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
FROM php:8.1-fpm-alpine
|
||||
FROM php:8.1-fpm-bookworm
|
||||
|
||||
RUN apk add --no-cache \
|
||||
php81-bcmath
|
||||
RUN apt update && apt install -y cron
|
||||
|
||||
RUN docker-php-ext-install pdo pdo_mysql bcmath
|
||||
|
||||
COPY /docker/crontab /etc/crontabs/root
|
||||
COPY docker/crontab /etc/crontabs/root
|
||||
RUN crontab /etc/crontabs/root
|
||||
|
||||
CMD ["crond", "-f"]
|
||||
CMD ["/usr/sbin/cron", "-f"]
|
||||
|
||||
Reference in New Issue
Block a user