From a609e122902d1293cb09f7dcf9da1c6ed8ace8e8 Mon Sep 17 00:00:00 2001 From: Billy Brawner Date: Thu, 26 May 2016 13:26:15 -0500 Subject: [PATCH] Fixed some configurations to allow MySQL to run bigger files and corrected permissions for files for Windows users. --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 144876c..2fc376c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,10 +8,13 @@ wget curl git # Configure apache COPY ./config/apache2.conf /etc/apache2/apache2.conf +RUN chmod 600 /etc/apache2/apache2.conf RUN a2enmod rewrite # Configure MySQL COPY ./config/my.cnf /etc/mysql/my.cnf +RUN chmod 600 /etc/mysql/my.cnf +RUN service mysql start && mysql -u root --execute="GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '';" EXPOSE 3306 # Install composer