Rainbond/hack/contrib/docker/gateway/Dockerfile

15 lines
501 B
Docker
Raw Normal View History

FROM rainbond/openresty:1.15.8.2
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
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}
ENV OPENRESTY_HOME=/usr/local/openresty
ENV PATH="${PATH}:${OPENRESTY_HOME}/nginx/sbin"
EXPOSE 8080
ENTRYPOINT ["/run/entrypoint.sh"]