2018-08-20 10:16:08 +01:00
|
|
|
NAME=gotls13-t2
|
2018-08-19 21:06:56 +01:00
|
|
|
PORT=50603
|
|
|
|
build:
|
|
|
|
mkdir -p certs
|
|
|
|
cp ../../cert/fullchain.pem certs/
|
|
|
|
cp ../../cert/privkey.pem certs/
|
|
|
|
docker build -t ${NAME} .
|
|
|
|
run:
|
|
|
|
docker run --detach --restart always --name ${NAME} -p ${PORT}:443 ${NAME}
|
|
|
|
|
|
|
|
restart:
|
|
|
|
docker stop ${NAME}
|
|
|
|
docker rm ${NAME}
|
|
|
|
docker run --detach --restart always --name ${NAME} -p ${PORT}:443 ${NAME}
|
|
|
|
|
|
|
|
|