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 4ea8d73125
4 changed files with 45 additions and 19 deletions

View File

@@ -18,7 +18,7 @@ ARG APP_ENV=prod \
APP_LOCALES="fr,en" \
BASE_PATH=""
COPY ./misc/files/Caddyfile /etc/frankenphp/Caddyfile
COPY ./misc/files/Caddyfile /etc/caddy/Caddyfile
WORKDIR /app
@@ -47,8 +47,8 @@ ENV APP_ENV=prod \
BASE_PATH="" \
VERSION=${VERSION}
COPY ./misc/files/Caddyfile /etc/frankenphp/Caddyfile
COPY ./misc/files/frankenphp.caddyfile-prod /etc/frankenphp/Caddyfile.d/frankenphp.caddyfile
COPY ./misc/files/Caddyfile /etc/caddy/Caddyfile
COPY ./misc/files/frankenphp.caddyfile-prod /etc/caddy/Caddyfile.d/frankenphp.caddyfile
WORKDIR /app
@@ -60,4 +60,5 @@ RUN cp $PHP_INI_DIR/php.ini-production $PHP_INI_DIR/php.ini \
pdo_mysql \
opcache \
apcu \
intl \
redis