piston/docker/execute

11 lines
132 B
Plaintext
Raw Normal View History

2018-09-20 04:58:50 +02:00
#!/usr/bin/env bash
abs=$1
file=$(basename $abs)
docker run \
--rm \
-v $abs:/$file \
2018-09-20 05:00:41 +02:00
-it piston \
2018-09-20 04:58:50 +02:00
python3 /$file