vnpy/docker/vnc/server_vnpy.sh
2018-05-07 22:19:39 +08:00

10 lines
274 B
Bash

#/bin/bash
cd ..
docker run --name vnpy --rm \
-v `pwd`:/srv/vnpy \
-v `pwd`/vn.trader/tmp/VT_setting.json:/etc/vnpy/VT_setting.json \
-p 2014:2014 -p 602:602 \
vnpy:latest \
python /srv/vnpy/vn.trader/vtServer.py --VT_setting /etc/vnpy/VT_setting.json