From 4799d1d24e601e63c95e3173a4a2ea3d50fb5d89 Mon Sep 17 00:00:00 2001 From: zz Date: Wed, 7 Nov 2018 20:51:47 +0700 Subject: [PATCH] =?UTF-8?q?[=E9=9C=80=E6=B1=82/BUG]:=E5=A2=9E=E5=8A=A0dock?= =?UTF-8?q?erfile=E4=BB=A5=E6=9E=84=E5=BB=BA=E9=95=9C=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Dockerfile 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;"]