From 58e2f471beb757dfc618d84ff084a9326f30aa8c Mon Sep 17 00:00:00 2001 From: pan <1029559041@qq.com> Date: Sun, 11 Oct 2020 00:39:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0openresty?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 4fb53cc..b64ff98 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,6 +19,8 @@ WORKDIR /usr/local/openresty/nginx #备份openresty默认配置,拷贝自定义配置 RUN mv conf/nginx.conf conf/nginx.conf.bak COPY conf/nginx.conf conf/nginx.conf +#添加openresty软链接 +RUN ln -s /usr/local/openresty/nginx/sbin/nginx /usr/local/bin/ #拷贝应用代码 WORKDIR /app #git web钩子服务端