Skip to content

Commit

Permalink
Docker: Create the cache dir if it does not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
quartje committed Jan 15, 2024
1 parent ddbe70d commit 3205037
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker/Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ COPY config/openconext/samlstepupproviders_parameters.yaml.dist config/openconex
# Add the config files for Apache2
RUN rm -rf /etc/apache2/sites-enabled/*
COPY ./docker/conf/apache2.conf /etc/apache2/sites-enabled/apache2.conf
RUN rm -rf /var/www/html/var/cache/prod && chown -R www-data /var/www/html/var
RUN rm -rf /var/www/html/var/cache/prod && \
mkdir -p /var/www/html/var/cache/ && \
chown -R www-data /var/www/html/var

EXPOSE 80

0 comments on commit 3205037

Please sign in to comment.