You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
264 B
11 lines
264 B
#!/usr/bin/env bash
|
|
|
|
clear;
|
|
|
|
if tty -s; then
|
|
echo 'Running composer in interactive mode.'
|
|
docker compose -p sandd exec website composer $@
|
|
else
|
|
echo 'Running composer in non-interactive mode.'
|
|
docker compose -p sandd exec -T website composer $@
|
|
fi
|