#!/bin/bash
docker build . -t smartheatserver

docker stop smartheatserver
docker rm smartheatserver

docker run -d -p 127.0.0.1:8080:8080 --name smartheatserver -it smartheatserver

docker logs -f smartheatserver