Add docker dev

This commit is contained in:
Jorit Tijsen
2024-05-06 13:32:23 +02:00
parent 6220a405a3
commit 684cba6085
6 changed files with 149 additions and 4 deletions

View File

@@ -27,12 +27,11 @@ 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
RUN mkdir -p storage/framework/{sessions,views,cache,cache/data} && \
chown -R www-data:www-data storage/framework && \
chmod -R 775 storage
# RUN php artisan cache:clear && \
# php artisan config:clear && \
# php artisan view:clear
# php artisan view:clear