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:
@@ -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
|
Reference in New Issue
Block a user