qrtesting/images/pq-t1/Makefile

13 lines
257 B
Makefile

2018-08-19 21:41:53 +01:00
NAME=pq-t1
PORT=50510
2018-08-19 12:29:02 +01:00
build:
2018-08-19 23:23:24 +01:00
mkdir -p certs
cp ../../cert/fullchain.pem certs/
cp ../../cert/privkey.pem certs/
2018-08-19 21:41:53 +01:00
docker build -t ${NAME} .
2018-08-19 12:29:02 +01:00
run:
2018-08-19 23:23:24 +01:00
docker run --detach --restart always --name ${NAME} -p ${PORT}:443 ${NAME}
2018-08-19 12:29:02 +01:00
restart:
2018-08-19 21:41:53 +01:00
docker restart ${NAME}