diff --git a/Dockerfile b/Dockerfile index f710de0..1f2ad4d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,7 @@ FROM php:8.1-apache ENV COMPOSER_MEMORY_LIMIT -1 ENV APACHE_DOCUMENT_ROOT /var/www/html/contao/public ENV APACHE_SERVER_NAME localhost +ENV PATH="$PATH" WORKDIR /var/www/html RUN apt-get update @@ -72,7 +73,7 @@ RUN chown -R www-data:www-data /var/www/html/ RUN chmod 755 /init.sh RUN chmod +x /init.sh -ENV PATH="$PATH" + RUN rm -rf /var/www/html/contao/var/cache/* EXPOSE 80