Update docker files to build correctly in fresh container
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user