diff --git a/debug-build.bat b/debug-build.bat deleted file mode 100644 index a7c1436..0000000 --- a/debug-build.bat +++ /dev/null @@ -1,4 +0,0 @@ -docker build . --tag debug-image --file Dockerfile.debug -docker stop debug-server -docker rm debug-server -docker run -d --publish 15054:10000 --publish 4000:4000 --name debug-server debug-image \ No newline at end of file diff --git a/test-build.bat b/test-build.bat new file mode 100644 index 0000000..6089368 --- /dev/null +++ b/test-build.bat @@ -0,0 +1,6 @@ +docker build . --tag test-image --file Dockerfile +docker build . --tag debug-image --file Dockerfile.debug +docker stop MPE_Egnyte_* +docker rm MPE_Egnyte_* +docker run -d --publish 15054:10000 --publish 4000:4000 --name MPE_Egnyte_Test test-image +docker run -d --publish 15053:10000 --publish 4000:4000 --name MPE_Egnyte_Debug test-image diff --git a/test-build.sh b/test-build.sh new file mode 100644 index 0000000..9310f3d --- /dev/null +++ b/test-build.sh @@ -0,0 +1,7 @@ +#! /bin/bash +docker build . --tag test-image --file Dockerfile +docker build . --tag debug-image --file Dockerfile.debug +docker stop MPE_Egnyte_* +docker rm MPE_Egnyte_* +docker run -d --publish 15054:10000 --publish 4000:4000 --name MPE_Egnyte_Test test-image +docker run -d --publish 15053:10000 --publish 4000:4000 --name MPE_Egnyte_Debug debug-image