EgnyteWebHookHandler/test-build.sh

10 lines
392 B
Bash
Raw Normal View History

2023-12-21 11:04:54 -07:00
#! /bin/bash
docker build . --tag test-image --file Dockerfile
docker build . --tag debug-image --file Dockerfile.debug
2023-12-21 11:08:22 -07:00
docker stop MPE_Egnyte_Test
docker rm MPE_Egnyte_Test
docker stop MPE_Egnyte_Debug
docker rm MPE_Egnyte_Debug
2023-12-21 11:10:21 -07:00
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