From 9dafe5da24b64c6064f5078b50bcf08bdc91da87 Mon Sep 17 00:00:00 2001 From: Holger Frey Date: Mon, 23 Aug 2021 14:23:34 +0200 Subject: [PATCH] trying to get rid of segfault, changing to ubuntu --- Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) 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