ht-docker-static/dockerdev.sh
2016-01-01 01:07:44 +01:00

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