dayoff/tools/server
2019-11-05 21:37:09 +03:00

17 lines
192 B
Bash
Executable File

#!/usr/bin/env bash
set -eu
TTY=
if [ -t 1 ] ; then
TTY=-t
fi
docker run -i $TTY \
-u "$(id -u):$(id -g)" \
-v "$PWD:/app" \
-p "3000:3000" \
-w "/app" \
dayoff-crystal crystal "$@"