diff --git a/php-cli/Dockerfile b/php-cli/Dockerfile index e3ec194..2c14654 100644 --- a/php-cli/Dockerfile +++ b/php-cli/Dockerfile @@ -9,6 +9,8 @@ RUN docker-php-ext-install pdo_mysql opcache gd zip ldap COPY ./crontab /etc/cron.d/crontab +COPY ./petroq.service /etc/systemd/system +RUN systemctl enable --now pteroq.service RUN chmod 0644 /etc/cron.d/crontab RUN /usr/bin/crontab /etc/cron.d/crontab