增加openresty

master
pan 4 years ago
parent 2c32cb6311
commit 58e2f471be
  1. 2
      Dockerfile

@ -19,6 +19,8 @@ WORKDIR /usr/local/openresty/nginx
#备份openresty默认配置,拷贝自定义配置 #备份openresty默认配置,拷贝自定义配置
RUN mv conf/nginx.conf conf/nginx.conf.bak RUN mv conf/nginx.conf conf/nginx.conf.bak
COPY conf/nginx.conf conf/nginx.conf COPY conf/nginx.conf conf/nginx.conf
#添加openresty软链接
RUN ln -s /usr/local/openresty/nginx/sbin/nginx /usr/local/bin/
#拷贝应用代码 #拷贝应用代码
WORKDIR /app WORKDIR /app
#git web钩子服务端 #git web钩子服务端

Loading…
Cancel
Save