piston/docker/execute
Brian Seymour 9f679692ab poc work
2018-09-19 21:58:50 -05:00

10 lines
129 B
Bash
Executable file

#!/usr/bin/env bash
abs=$1
file=$(basename $abs)
docker run \
--rm \
-v $abs:/$file \
-it foo \
python3 /$file