diff --git a/.github/workflows/docker-monitor.yaml b/.github/workflows/docker-monitor.yaml index 26d6195..348b4ea 100644 --- a/.github/workflows/docker-monitor.yaml +++ b/.github/workflows/docker-monitor.yaml @@ -1,6 +1,6 @@ on: schedule: - - cron: '*/10 * * * *' # every 10 minutes + - cron: '@daily' push: branches: - main diff --git a/Dockerfile b/Dockerfile index 11a8f1b..0bffba0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -62,7 +62,8 @@ RUN set -ex; \ docker-php-ext-enable --ini-name docker-php-ext-x-06-protobuf.ini protobuf; \ ln -sf /dev/stdout /var/log/nginx/access.log; \ ln -sf /dev/stderr /var/log/nginx/error.log; \ - mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"; + mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"; \ + apk upgrade tar; COPY ./src / COPY ./custom_params.ini /usr/local/etc/php/conf.d/docker-php-ext-x-02-custom-params.ini