2020-02-03 23:18:37 +08:00
|
|
|
FROM rainbond/openresty:1.15.8.2
|
2018-11-21 13:30:40 +08:00
|
|
|
|
2019-03-20 14:56:55 +08:00
|
|
|
RUN apk add --no-cache bash net-tools curl tzdata && \
|
|
|
|
cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
|
|
|
|
echo "Asia/Shanghai" > /etc/timezone && \
|
|
|
|
date && apk del --no-cache tzdata
|
2019-03-07 21:38:47 +08:00
|
|
|
ADD . /run
|
2018-11-21 17:35:07 +08:00
|
|
|
ENV NGINX_CONFIG_TMPL=/run/nginxtmp
|
|
|
|
ENV NGINX_CUSTOM_CONFIG=/run/nginx/conf
|
2020-11-25 16:54:51 +08:00
|
|
|
ENV RELEASE_DESC=${RELEASE_DESC}
|
2018-11-21 13:30:40 +08:00
|
|
|
ENV OPENRESTY_HOME=/usr/local/openresty
|
|
|
|
ENV PATH="${PATH}:${OPENRESTY_HOME}/nginx/sbin"
|
|
|
|
EXPOSE 8080
|
|
|
|
|
|
|
|
ENTRYPOINT ["/run/entrypoint.sh"]
|