mytinytodo/composer.sh

12 lines
180 B
Bash
Raw Permalink Normal View History

#!/bin/sh
#dir="$( dirname -- "$( readlink -f -- "$0"; )"; )"
dir="$PWD"
2025-01-19 19:30:50 +00:00
app=$(which podman)
if [ -z $app ]; then
app="docker"
fi
$app run -it --rm -v "$dir:/app" composer $@