diff --git a/updater/Dockerfile b/updater/Dockerfile index 92b16e3..5479f76 100644 --- a/updater/Dockerfile +++ b/updater/Dockerfile @@ -19,6 +19,12 @@ RUN apt-get update && \ apt-get install -y git docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin && \ rm -rf /var/lib/apt/lists/* +# Add the www-data user to the docker group +RUN usermod -aG docker www-data + +# create home dir for the www-data user +RUN mkdir /home/www-data && chown www-data:www-data /home/www-data + # Copy the PHP file to the Apache document root COPY webhook.php /var/www/html/index.php