devilbox/shell.sh

8 lines
159 B
Bash
Executable File

#!/bin/sh
if hash docker-compose 2>/dev/null; then
docker-compose exec --user devilbox php bash -l
else
docker compose exec --user devilbox php bash -l
fi