script: redesigned build scripts, and added docker start and stop scripts

This commit is contained in:
Yannik Bretschneider 2021-06-05 14:40:22 +02:00
parent c0e116acb4
commit 782509ad38
4 changed files with 7 additions and 1 deletions

2
rebuildDocker.bat Normal file
View File

@ -0,0 +1,2 @@
@echo off
powershell .\rebuildDocker.ps1

View File

@ -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
View 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
View File

@ -0,0 +1,2 @@
@echo off
docker stop Server-Testbuild