2018-08-19 12:29:02 +01:00
|
|
|
NAME=gotls13-p1
|
|
|
|
build:
|
2018-08-19 20:58:51 +01:00
|
|
|
mkdir -p certs
|
|
|
|
cp ../../cert/fullchain.pem certs/
|
|
|
|
cp ../../cert/privkey.pem certs/
|
2018-08-19 12:29:02 +01:00
|
|
|
docker build -t ${NAME} .
|
|
|
|
run:
|
|
|
|
docker run --detach --restart always --name ${NAME} -p 50600:443 ${NAME}
|
|
|
|
|
|
|
|
restart:
|
2018-08-19 20:58:51 +01:00
|
|
|
docker stop ${NAME}
|
|
|
|
docker rm ${NAME}
|
|
|
|
docker run --detach --restart always --name ${NAME} -p 50600:443 ${NAME}
|
|
|
|
|
|
|
|
|