Updated readme and change run mode
This commit is contained in:
parent
ab453096b2
commit
c7aa6016ce
@ -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
4
scripts/run.sh
Normal file → Executable 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
|
Loading…
Reference in New Issue
Block a user