From f192f83ab86c7caeacfe86395f4265d5a04d8a48 Mon Sep 17 00:00:00 2001 From: Holger Frey Date: Mon, 23 Aug 2021 14:34:30 +0200 Subject: [PATCH] trying to get rid of segfault, changing to ubuntu --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index c67b664..d06683a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,8 +3,8 @@ FROM ubuntu:latest RUN apt-get update && apt-get upgrade -y # add user that will be used to install and run the application -#RUN addgroup -g 1000 deploy -#RUN adduser -D -u 1000 -G deploy deploy +RUN addgroup -g 1000 deploy +RUN adduser -D -u 1000 -G deploy deploy # # CUSTOM PART IS BELOW HERE @@ -45,8 +45,8 @@ 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 +ENV APACHE_RUN_USER=deploy +ENV APACHE_RUN_GROUP=deploy #USER deploy