ht-docker-static/dockerdev.sh

6 lines
207 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)
docker run -d -e VIRTUAL_HOST=default.com -e CERT_NAME=server --name static staticimg