summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorGeorge Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-06-01 03:33:18 +0300
committerGeorge Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-06-01 03:33:18 +0300
commit864fbb806621c8167c49f7449486fbc3bdaca1a6 (patch)
tree1b5b5933dbb184b130c248d3281e709bd6286c5d /Dockerfile
parent950798a91c0bed3f2d6e53182b0cff49f07eff0c (diff)
downloadgyraf1gov-864fbb806621c8167c49f7449486fbc3bdaca1a6.tar.gz
gyraf1gov-864fbb806621c8167c49f7449486fbc3bdaca1a6.tar.bz2
gyraf1gov-864fbb806621c8167c49f7449486fbc3bdaca1a6.zip
user update; user petitions copy; fixed docker performance issues
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile20
1 files changed, 7 insertions, 13 deletions
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