Skip to content

Commit

Permalink
Docker: Fix permissions on the cache dir
Browse files Browse the repository at this point in the history
  • Loading branch information
quartje authored and MKodde committed Aug 14, 2023
1 parent 424a761 commit 25c9679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ COPY config/legacy/parameters.yaml.dist config/legacy/parameters.yaml
# Add the config files for Apache2
RUN rm -rf /etc/apache2/sites-enabled/*
COPY ./docker/conf/middleware-apache2.conf /etc/apache2/sites-enabled/middleware.conf
RUN rm -rf /var/www/html/var/prod && chown -R www-data /var/www/html/var
RUN rm -rf /var/www/html/var/cache/prod && chown -R www-data /var/www/html/var
EXPOSE 80

# Set the default workdir
Expand Down

0 comments on commit 25c9679

Please sign in to comment.