diff --git a/docker/backend.dockerfile b/docker/backend.dockerfile index dd0940e..a550779 100644 --- a/docker/backend.dockerfile +++ b/docker/backend.dockerfile @@ -22,9 +22,9 @@ RUN apt-get install -y libxml2-dev libzip-dev libpng-dev ## run apache as non-root user # https://takac.dev/docker-run-apache-as-non-root-user-based-on-the-official-image/ RUN apt-get install -y libcap2-bin procps -RUN setcap 'cap_net_bind_service=+ep' /usr/local/bin/apache2-foreground +RUN setcap 'cap_net_bind_service=+ep' /usr/sbin/apache2 RUN chown -R www-data:www-data /var/log/apache2 -RUN chown -R www-data:www-data /usr/local/bin/apache2-foreground +# RUN chown -R www-data:www-data /usr/local/bin/apache2-foreground # install additional PHP extensions RUN docker-php-ext-install pdo_mysql mysqli soap zip gd