Dockerfile CHDIR fix

This commit is contained in:
NH Gooi
2026-02-27 15:51:11 +01:00
parent e42813e879
commit 2b35391800

View File

@@ -29,10 +29,11 @@ ADD docker/apache.conf /etc/apache2/sites-enabled/000-default.conf
WORKDIR /var/www/html WORKDIR /var/www/html
COPY . /var/www/html COPY . /var/www/html
WORKDIR /var/www/app
RUN mkdir -p storage/framework/{sessions,views,cache,cache/data} && \ RUN mkdir -p storage/framework/{sessions,views,cache,cache/data} && \
chown -R www-data:www-data storage/framework && \ chown -R www-data:www-data storage/framework && \
chmod -R 775 storage chmod -R 775 storage
RUN php artisan cache:clear && \ #RUN php artisan cache:clear && \
php artisan config:clear && \ # php artisan config:clear && \
php artisan view:clear # php artisan view:clear