13 rivejä
264 B
Makefile
13 rivejä
264 B
Makefile
NAME=pq-gcc-amd64
|
|
PORT=50601
|
|
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 restart ${NAME}
|