ht-docker-static/dockerdev.sh

6 lines
193 B
Bash
Raw Normal View History

2016-01-01 00:07:44 +00:00
#!/usr/bin/env bash
docker build --no-cache -t staticimg .
docker stop static
docker rm $(docker ps -q -f status=exited)
2021-04-15 08:32:51 +00:00
docker run -d -p 3000:8080 --name static staticimg staticly --port 8080