infinito/administration/clear.sh
2019-01-05 12:38:58 +01:00

7 lines
231 B
Bash

#!/bin/bash
(
cd "$(dirname "$(readlink -f "${0}")")/../docker-symfony/" &&
docker-compose exec php php /var/www/symfony/bin/console cache:clear &&
docker-compose exec php php /var/www/symfony/bin/console cache:clear --env=prod
)