From 864fbb806621c8167c49f7449486fbc3bdaca1a6 Mon Sep 17 00:00:00 2001 From: George Halkiadakis Date: Thu, 1 Jun 2023 03:33:18 +0300 Subject: user update; user petitions copy; fixed docker performance issues --- Dockerfile | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 16662a1..8d4e76b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,9 +25,6 @@ ARG MODE="debug" # } >> /usr/local/etc/php-fpm.d/www.conf - - - # setup apache # ------------------------------------------------------------------------------ @@ -111,18 +108,15 @@ RUN sed -i 's/80/${PORT}/g' /etc/apache2/sites-available/000-default.conf /etc/a # (+) run once after ex. 4 minutes - # Install XDebug (only for develop/debud modes) # ------------------------------------------------------------------------------ -RUN apt-get install -y apt-utils \ - && pecl install xdebug \ - && docker-php-ext-enable xdebug - -COPY docker/config/php-ext-xdebug.ini /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini -RUN touch /usr/local/etc/php/xdebug.log -RUN chown www-data:www-data /usr/local/etc/php/xdebug.log -RUN chmod 664 /usr/local/etc/php/xdebug.log - +# RUN apt-get install -y apt-utils \ +# && pecl install xdebug \ +# && docker-php-ext-enable xdebug +# COPY docker/config/php-ext-xdebug.ini /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini +# RUN touch /usr/local/etc/php/xdebug.log +# RUN chown www-data:www-data /usr/local/etc/php/xdebug.log +# RUN chmod 664 /usr/local/etc/php/xdebug.log # Prepare the entrypoint as in the original image -- cgit v1.2.3