EgnyteWebHookHandler/test-build.sh

8 lines
330 B
Bash

#! /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 --name MPE_Egnyte_Test test-image
docker run -d --publish 15053:10000 --publish 4000:4000 --name MPE_Egnyte_Debug debug-image