Skip to content

Commit 0907ef5

Browse files
authored
fix permissoes /var/log/apache2
1 parent 2484240 commit 0907ef5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ RUN echo "---> Adding Tini" && \
5151
RUN echo "---> Config sudoers" && \
5252
echo "www-data ALL = ( ALL ) NOPASSWD: ALL" >> /etc/sudoers
5353

54+
RUN echo "---> Fix Logs permissions" && \
55+
chown -R www-data:www-data /var/log/apache2
56+
5457
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin/ --filename=composer
5558

5659
RUN pecl install xdebug

0 commit comments

Comments
 (0)