Merge pull request #1103 from PokeAPI/prune

Prune images on GQL
This commit is contained in:
Alessandro Pezzè 2024-06-02 18:45:22 +09:00 committed by GitHub
commit b2043858ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -154,4 +154,5 @@ update-graphql-data-prod:
make hasura-apply make hasura-apply
docker compose ${gql_compose_config} up --pull always -d web docker compose ${gql_compose_config} up --pull always -d web
docker compose exec -T web sh -c 'rm -rf /tmp/cache/*' docker compose exec -T web sh -c 'rm -rf /tmp/cache/*'
docker image prune -af
sync; echo 3 > /proc/sys/vm/drop_caches sync; echo 3 > /proc/sys/vm/drop_caches