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钩子服务端