From 16023f1a26917c57a03871fe4e98c6270c553499 Mon Sep 17 00:00:00 2001 From: Brock H Caldwell Date: Tue, 3 Jun 2025 11:15:01 -0500 Subject: [PATCH] fix: uses frankingphp:8.4-alpine image locally --- Dockerfile | 4 +++- compose.yml | 2 +- docker/Dockerfile.worker | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7845681..9188c10 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM dunglas/frankenphp +FROM dunglas/frankenphp:php8.4-alpine ENV SERVER_NAME=":80" ENV CADDY_GLOBAL_OPTIONS="auto_https off" @@ -11,6 +11,8 @@ RUN install-php-extensions \ zip \ opcache +RUN apk add --no-cache wget + HEALTHCHECK --interval=3s --timeout=3s --retries=10 CMD [ "php", "/app/bin/console", "startup:status" ] COPY docker/app/Caddyfile /etc/frankenphp/Caddyfile diff --git a/compose.yml b/compose.yml index e27252b..711d13a 100755 --- a/compose.yml +++ b/compose.yml @@ -35,7 +35,7 @@ services: volumes: - $PWD:/app tty: true - command: php /app/bin/console messenger:consume async -vv --time-limit=3600 limit=10 + command: php /app/bin/console messenger:consume async -vv --time-limit=3600 --limit=10 scheduler: diff --git a/docker/Dockerfile.worker b/docker/Dockerfile.worker index 7869b10..912132d 100644 --- a/docker/Dockerfile.worker +++ b/docker/Dockerfile.worker @@ -11,6 +11,8 @@ RUN install-php-extensions \ zip \ opcache +RUN apk add --no-cache wget + COPY . /app ENTRYPOINT [ "php", "/app/bin/console", "messenger:consume", "async" ]