Skip to content

Commit

Permalink
fix dockerfile: clear all of the cached everything
Browse files Browse the repository at this point in the history
  • Loading branch information
Moros1138 committed May 2, 2024
1 parent 0392573 commit b557804
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ WORKDIR /var/www/html
RUN chmod 755 -R /var/www/html/storage/ && \
chown -R www-data:www-data /var/www/ && \
su -c "bash build-libs.sh" -s /bin/bash www-data && \
su -c "php artisan config:clear" -s /bin/bash www-data && \
su -c "php artisan cache:clear" -s /bin/bash www-data && \
su -c "php artisan view:clear" -s /bin/bash www-data && \
su -c "php artisan route:clear" -s /bin/bash www-data && \
a2enmod rewrite

ENTRYPOINT [ "/bin/bash" ]
Expand Down

0 comments on commit b557804

Please sign in to comment.