You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
167 B
Bash

8 months ago
#!/bin/bash
CURDIRNAME=${PWD##*/}
docker run \
-it \
--rm \
-v $(pwd):/wd \
--net host \
--name ${USER}_${CURDIRNAME} \
${USER}_${CURDIRNAME} \
python main.py