diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..0de4c6a --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM openresty/openresty:1.13.6.2-1-xenial + +MAINTAINER zoucaitou + +ENV WAF_ROOT=/opt/openresty/openstar + +RUN mkdir -p $WAF_ROOT + +COPY . $WAF_ROOT + +COPY conf/nginx.conf /usr/local/openresty/nginx/conf/nginx.conf + +COPY conf/waf.conf /usr/local/openresty/nginx/conf/waf.conf + +CMD ["/usr/local/openresty/bin/openresty", "-g", "daemon off;"]