Update docker files to build correctly in fresh container

This commit is contained in:
NH Gooi committed 2024-04-25 16:26:24 +02:00
1 parent 34ca1486bd
commit e0c11c50f5
4 files changed
+45 -7

No files matched your search

+2 -2
View File
@@ -27,7 +27,7 @@ COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
ADD docker/apache.conf /etc/apache2/sites-enabled/000-default.conf
WORKDIR /var/www/html
COPY . /var/www/html
# COPY . /var/www/html
RUN mkdir -p storage/framework/{sessions,views,cache,cache/data} && \
chown -R www-data:www-data storage/framework && \
@@ -35,4 +35,4 @@ RUN mkdir -p storage/framework/{sessions,views,cache,cache/data} && \
# RUN php artisan cache:clear && \
# php artisan config:clear && \
# php artisan view:clear
# php artisan view:clear