-
-
Save lucenarenato/e57ab1f28a076a35da2f89004672dd45 to your computer and use it in GitHub Desktop.
Docker-compose replace command
This file contains hidden or 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