17 lines
353 B
Makefile
17 lines
353 B
Makefile
|
NAME=gotls13
|
||
|
PORT=50604
|
||
|
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}
|
||
|
|
||
|
|