This commit is contained in:
2022-11-25 20:52:46 -03:00
parent 11d8479a0c
commit dd0410a0fb
15 changed files with 325 additions and 50 deletions

View File

@ -3,11 +3,12 @@ FROM php:8-cli
ENV PATH ${PATH}:/app/bin
RUN apt-get update \
&& apt-get install -y libc-client-dev libkrb5-dev git libzip-dev unzip \
&& apt-get install -y cron git libzip-dev unzip \
&& rm -r /var/lib/apt/lists/* \
&& docker-php-ext-configure imap --with-kerberos --with-imap-ssl \
&& docker-php-ext-install imap zip
&& docker-php-ext-install zip
COPY --from=composer /usr/bin/composer /usr/bin/composer
COPY ./crontab /var/spool/cron/crontabs/root
WORKDIR /app
CMD [ "cron", "-f", "-L", "15" ]