Dockerfile CHDIR fix
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user