2018-12-03 15:32:13 +00:00
|
|
|
NAME=pq-gcc-amd64
|
|
|
|
PORT=50601
|
|
|
|
build:
|
2019-01-22 10:51:22 +00:00
|
|
|
mkdir -p certs
|
|
|
|
cp ../../cert/fullchain.pem certs/
|
|
|
|
cp ../../cert/privkey.pem certs/
|
2018-12-03 15:32:13 +00:00
|
|
|
docker build -t ${NAME} .
|
|
|
|
run:
|
|
|
|
docker run --detach --restart always --name ${NAME} -p ${PORT}:443 ${NAME}
|
|
|
|
|
|
|
|
restart:
|
|
|
|
docker restart ${NAME}
|