wip: frankenphp
This commit is contained in:
@@ -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" ]
|
||||
|
||||
Reference in New Issue
Block a user