feat(frankenphp): prepare caddyfile for prod image
Some checks failed
Cadoles/hydra-sql/pipeline/pr-develop There was a failure building this commit
Some checks failed
Cadoles/hydra-sql/pipeline/pr-develop There was a failure building this commit
This commit is contained in:
@@ -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
|
Reference in New Issue
Block a user