Created
August 2, 2019 14:08
-
-
Save vluzrmos/54d874327333e86b46c6c91c0093a39a to your computer and use it in GitHub Desktop.
Docker-compose replace command
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ... | |
services: | |
# ... | |
service-name: | |
# ... | |
command: > | |
bash -c " | |
php artisan cache:clear && | |
php artisan config:clear && | |
php artisan route:clear && | |
php artisan view:clear && | |
php artisan optimize && | |
chown www-data:www-data -R storage bootstrap/cache && | |
/usr/local/bin/start" | |
# ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment