mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-19 11:14:06 +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 \
|
RUN apt update && apt install -y cron
|
||||||
php81-bcmath
|
|
||||||
|
|
||||||
RUN docker-php-ext-install pdo pdo_mysql bcmath
|
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