Add alias for root shell

This commit is contained in:
Jake Howard 2024-04-07 15:52:40 +01:00
parent f83c38c2f1
commit 17969086a4
Signed by: jake
GPG Key ID: 57AFB45680EDD477
1 changed files with 4 additions and 0 deletions

View File

@ -52,5 +52,9 @@ lint_python:
docker-compose -f {{ DEV_COMPOSE }} up -d
docker-compose -f {{ DEV_COMPOSE }} exec web bash
@sh-root:
docker-compose -f {{ DEV_COMPOSE }} up -d
docker-compose -f {{ DEV_COMPOSE }} exec --user=root web bash
@down:
docker-compose -f {{ DEV_COMPOSE }} down