ht-docker-static/dockerdev.sh
2021-04-15 08:32:51 +00:00

6 lines
193 B
Bash

#!/usr/bin/env bash
docker build --no-cache -t staticimg .
docker stop static
docker rm $(docker ps -q -f status=exited)
docker run -d -p 3000:8080 --name static staticimg staticly --port 8080