EgnyteWebHookHandler/test-build.sh

10 lines
392 B
Bash

#! /bin/bash
docker build . --tag test-image --file Dockerfile
docker build . --tag debug-image --file Dockerfile.debug
docker stop MPE_Egnyte_Test
docker rm MPE_Egnyte_Test
docker stop MPE_Egnyte_Debug
docker rm MPE_Egnyte_Debug
docker run -d --publish 15053:10000 --name MPE_Egnyte_Test test-image
docker run -d --publish 15054:10000 --publish 4000:4000 --name MPE_Egnyte_Debug debug-image