X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=rulemgt-standalone%2Fsrc%2Fmain%2Fassembly%2FDockerfile;h=02638909835aebdbeaf821f3971999414f7b42fc;hb=271dae93a026c5812958041a46377fc800e11007;hp=fb45a5bcfa87ebc15099c2665ea6268f8dcfec6b;hpb=f88b3ba0d13ea33f5f6307c7ffb60ed6682c503f;p=holmes%2Frule-management.git diff --git a/rulemgt-standalone/src/main/assembly/Dockerfile b/rulemgt-standalone/src/main/assembly/Dockerfile index fb45a5b..0263890 100644 --- a/rulemgt-standalone/src/main/assembly/Dockerfile +++ b/rulemgt-standalone/src/main/assembly/Dockerfile @@ -2,7 +2,7 @@ FROM openresty/openresty:alpine MAINTAINER "Guangrong Fu" -EXPOSE 9101 9104 9201 +EXPOSE 9101 9104 9105 9201 ENV HOSTNAME holmes-rule-mgmt @@ -37,8 +37,13 @@ RUN apk upgrade \ #add the frontend pacakge to the docker images RUN rm /etc/nginx/conf.d/default.conf -ADD holmes-rulemgt-frontend-*.tar.gz /usr/local/openresty/nginx/html +RUN mkdir -p /etc/ssl/certs/ +RUN mkdir /etc/ssl/private +ADD holmes-rulemgt-frontend-*.tar.gz /usr/local/openresty/nginx/html/ ADD nginx.conf /usr/local/openresty/nginx/conf +ADD holmes-frontend.key /etc/ssl/private +ADD holmes-frontend-selfsigned.crt /etc/ssl/certs +ADD dhparam.pem /etc/ssl/certs #add the backend package to the docker image RUN mkdir /home/holmes