feat(frankenphp): prepare caddyfile for prod image
Some checks failed
Cadoles/hydra-sql/pipeline/pr-develop There was a failure building this commit

This commit is contained in:
2025-10-08 15:03:52 +02:00
parent 21cef8a495
commit 61405779a8
6 changed files with 21 additions and 41 deletions

View File

@@ -48,16 +48,18 @@ ENV APP_ENV=prod \
VERSION=${VERSION}
COPY ./misc/files/Caddyfile /etc/frankenphp/Caddyfile
COPY ./misc/files/frankenphp.caddyfile-prod /etc/frankenphp/Caddyfile.d/frankenphp.caddyfile
WORKDIR /app
COPY --from=composer-install /app .
RUN mkdir -p /tmp/caddy && chown -R 1000:1000 /tmp/caddy
RUN cp $PHP_INI_DIR/php.ini-production $PHP_INI_DIR/php.ini \
&& install-php-extensions \
pdo_pgsql \
pdo_mysql \
opcache \
apcu \
redis
intl \
redis