From 7e6b940777d7fe7ed0c19c68f07b71614c52cdc4 Mon Sep 17 00:00:00 2001 From: Mateusz Wojczal Date: Fri, 10 Jan 2025 13:30:46 +0100 Subject: [PATCH] docker update alpine 8.3 --- Dockerfile | 5 ++--- Dockerfile.develop | 5 +---- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index c644a17..0002495 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,12 @@ -FROM escolalms/php:8.3-bookworm +FROM escolalms/php:8.3-alpine WORKDIR /var/www/html EXPOSE 9000 COPY / /var/www/html -COPY docker/docker-entrypoint.sh /docker-entrypoint.sh RUN \ cp docker/conf/supervisor/supervisord.conf /etc/supervisord.conf \ && cp docker/conf/php/escolalms-custom-php.ini /usr/local/etc/php/conf.d/escolalms-custom-php.ini \ && cp docker/conf/php/php-fpm-custom.conf /usr/local/etc/php-fpm.d/php-fpm-custom.conf -RUN composer install --no-scripts +RUN composer install --no-scripts --no-dev CMD /var/www/html/init.sh diff --git a/Dockerfile.develop b/Dockerfile.develop index 38a7607..9c584ac 100644 --- a/Dockerfile.develop +++ b/Dockerfile.develop @@ -2,10 +2,7 @@ FROM escolalms/php:8.3-alpine WORKDIR /var/www/html EXPOSE 9000 COPY / /var/www/html -COPY docker/docker-entrypoint.sh /docker-entrypoint.sh -RUN docker-php-ext-install opcache -RUN pecl install excimer apcu -RUN docker-php-ext-enable apcu +RUN pecl install excimer RUN \ cp docker/conf/supervisor/supervisord.conf /etc/supervisord.conf \ && cp docker/conf/php/escolalms-custom-php.ini /usr/local/etc/php/conf.d/escolalms-custom-php.ini \