7 lines
177 B
Bash
7 lines
177 B
Bash
docker build -t replace-bot .
|
|
docker run --net=br0 \
|
|
--name=replacebot \
|
|
--mount type=bind,source="$(pwd)",target=/app $@ \
|
|
--ip=10.0.0.3 --restart=unless-stopped \
|
|
replace-bot
|