retrospring/bin/docker-dev
Andreas Nedbal c29d27d0a6 Apply suggestions from @nilsding
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2023-08-23 20:40:39 +02:00

8 lines
No EOL
264 B
Bash

#!/usr/bin/env sh
if [ ! -e "docker-compose.yml" ]; then
echo "\033[0;33mdocker-compose.yml not found! Copying example file.\033[0m"
cp docker-compose.example.yml docker-compose.yml
fi
exec docker compose -f docker-compose.yml -f docker-compose.dev.yml "$@"