21 lines
531 B
Docker
21 lines
531 B
Docker
FROM registry.caldwell.digital/home/frankenphp:1.9.0-php8.5.0-ubuntu
|
|
|
|
ENV SERVER_NAME=":80"
|
|
ENV CADDY_GLOBAL_OPTIONS="auto_https off"
|
|
ENV APP_RUNTIME="Runtime\\FrankenPhpSymfony\\Runtime"
|
|
ENV APP_VERSION="0.0.1"
|
|
ENV SERVER_ROOT="/app/public"
|
|
|
|
#RUN install-php-extensions \
|
|
# pdo_mysql \
|
|
# gd \
|
|
# intl \
|
|
# zip \
|
|
# opcache
|
|
|
|
RUN apt update && apt install -y wget
|
|
|
|
HEALTHCHECK --interval=3s --timeout=3s --retries=10 CMD [ "php", "/app/bin/console", "startup:status" ]
|
|
|
|
COPY --chmod=0755 docker/app/Caddyfile /etc/frankenphp/Caddyfile
|