Files
spark/tools/server_build_and_run.cmd
T

7 lines
345 B
Batchfile

@echo off
cd %~dp0\..
set target=%1
if "%target%"=="" set target=gcc_debug
if not exist %homedrive%%homepath%\config mkdir %homedrive%%homepath%\config
docker run --rm -it -p 8000:8000 -p 8001:8001 -p 2000:22 -v %cd%:/bts -v %homedrive%%homepath%:/root bluetradingsystems/linux_docker bash -c "cd /bts/tools/; ./build_and_run.sh %target%"