diff --git a/Dockerfile b/Dockerfile index 7ae41ab..2f9de27 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,5 +39,14 @@ RUN chmod u+x /usr/local/bin/httpd-foreground #RUN chown -R deploy:deploy /run/apache2/ #RUN chown -R deploy:deploy /var/log/apache2/ + +ENV APACHE_PID_FILE=/var/run/apache2/apache2.pid +ENV APACHE_LOCK_DIR=/var/lock/apache2 +ENV APACHE_LOG_DIR=/var/log/apache2 +ENV APACHE_RUN_DIR=/var/run/apache2 +ENV APACHE_RUN_USER=www-data +ENV APACHE_RUN_GROUP=www-data + + #USER deploy CMD ["httpd-foreground"] \ No newline at end of file