Updated readme and change run mode

This commit is contained in:
Sambo Chea 2021-03-06 21:35:25 +07:00
parent ab453096b2
commit c7aa6016ce
2 changed files with 6 additions and 0 deletions

View File

@ -5,6 +5,8 @@ REGISTRY=registry.kh.cubetiqs.com
IMAGE=highcharts-export-server
CONTAINER=${REGISTRY}/${IMAGE}:${TAG}
echo "Building container image with ${CONTAINER}"
docker build -t ${CONTAINER} .
echo "Publishing the container image to ${REGISTRY}"
docker push ${CONTAINER}

4
scripts/run.sh Normal file → Executable file
View File

@ -1,3 +1,7 @@
#!/bin/bash
echo "Stop and remove container..."
docker rm -f highcharts-export-server
echo "Run the container..."
docker run -d --name highcharts-export-server -p 8080:8080 registry.kh.cubetiqs.com/highcharts-export-server