Newer
Older
# |--------------------------------------------------------------------------
# |--------------------------------------------------------------------------
# |--------------------------------------------------------------------------
# |--------------------------------------------------------------------------
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
# |--------------------------------------------------------------------------
# |--------------------------------------------------------------------------
# |--------------------------------------------------------------------------
# | enable apache modules
# |--------------------------------------------------------------------------
RUN a2enmod headers rewrite
# |--------------------------------------------------------------------------
# | enable metrics
# |--------------------------------------------------------------------------
RUN apt update && apt install curl
HEALTHCHECK CMD curl --fail http://localhost || exit 1
# |--------------------------------------------------------------------------
# |--------------------------------------------------------------------------