wip: frankenphp

This commit is contained in:
2025-05-23 21:55:41 -05:00
parent 794189d70a
commit e85ae5ac95
7 changed files with 53 additions and 68 deletions

View File

@@ -1,7 +1,16 @@
FROM php:8.4-cli-alpine3.21
FROM dunglas/frankenphp
RUN docker-php-ext-install pdo_mysql
ENV SERVER_NAME=":80"
ENV CADDY_GLOBAL_OPTIONS="auto_https off"
ENV APP_RUNTIME="Runtime\\FrankenPhpSymfony\\Runtime"
COPY --chown=www-data:www-data . /app
RUN install-php-extensions \
pdo_mysql \
gd \
intl \
zip \
opcache \
ENTRYPOINT [ "php", "/app/bin/console", "messenger:consume", "download" ]
COPY . /app
ENTRYPOINT [ "php", "/app/bin/console", "messenger:consume", "async", "-vv" ]