-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
FROM dunglas/frankenphp:1.1.4-php8.3.6-alpine | ||
FROM dunglas/frankenphp:1.1.5-php8.3.7-alpine | ||
|
||
RUN set -xe && install-php-extensions opcache sockets pcntl pdo_pgsql pdo_sqlsrv gd decimal bcmath intl zip soap \ | ||
&& chmod 777 /etc/caddy | ||
RUN set -xe \ | ||
&& install-php-extensions opcache sockets pcntl pdo_pgsql pdo_sqlsrv gd decimal bcmath intl zip soap \ | ||
&& setcap -r /usr/local/bin/frankenphp | ||
|
||
COPY config/php.ini /usr/local/etc/php/php.ini | ||
COPY config/Caddyfile /etc/caddy/Caddyfile | ||
COPY config/Caddyfile /config/Caddyfile | ||
|
||
HEALTHCHECK NONE | ||
|
||
ENTRYPOINT ["/usr/local/bin/frankenphp"] | ||
CMD ["run", "--config", "/etc/caddy/Caddyfile", "--adapter", "caddyfile"] | ||
CMD ["run", "--config", "/config/Caddyfile", "--adapter", "caddyfile"] | ||
|
||
EXPOSE 8443 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters