增加openresty

master
pan 4 years ago
parent 8f8c675f6d
commit f99efd985e
  1. 2
      Dockerfile

@ -17,7 +17,7 @@ RUN echo "http://openresty.org/package/alpine/v3.12/main" \
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && apk update && apk add git openssh curl openresty
WORKDIR /usr/local/openresty/nginx
#备份openresty默认配置,拷贝自定义配置
RUN move conf/nginx.conf conf/nginx.conf.bak
RUN mv conf/nginx.conf conf/nginx.conf.bak
COPY conf/nginx.conf conf/nginx.conf
#拷贝应用代码
WORKDIR /app

Loading…
Cancel
Save