script: redesigned build scripts, and added docker start and stop scripts
This commit is contained in:
parent
c0e116acb4
commit
782509ad38
2
rebuildDocker.bat
Normal file
2
rebuildDocker.bat
Normal file
@ -0,0 +1,2 @@
|
||||
@echo off
|
||||
powershell .\rebuildDocker.ps1
|
@ -1,3 +1,3 @@
|
||||
.\gradlew Server:jar
|
||||
docker build -t server-testbuild .
|
||||
docker run --rm -e "MMU_LOG_LEVEL=5" -p 1218:1218 server-testbuild
|
||||
# docker run --rm -e "MMU_LOG_LEVEL=5" -p 1218:1218 server-testbuild
|
||||
|
2
startDocker.bat
Normal file
2
startDocker.bat
Normal file
@ -0,0 +1,2 @@
|
||||
@echo off
|
||||
docker run --name "Server-Testbuild" -e "MMU_LOG_LEVEL=5" -p 1218:1218 --rm server-testbuild
|
2
stopDocker.bat
Normal file
2
stopDocker.bat
Normal file
@ -0,0 +1,2 @@
|
||||
@echo off
|
||||
docker stop Server-Testbuild
|
Loading…
Reference in New Issue
Block a user