mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-02 19:57:42 +08:00
15 lines
501 B
Docker
15 lines
501 B
Docker
FROM rainbond/openresty:1.15.8.2
|
|
|
|
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
|
|
ENV NGINX_CONFIG_TMPL=/run/nginxtmp
|
|
ENV NGINX_CUSTOM_CONFIG=/run/nginx/conf
|
|
ENV RELEASE_DESC=${RELEASE_DESC}
|
|
ENV OPENRESTY_HOME=/usr/local/openresty
|
|
ENV PATH="${PATH}:${OPENRESTY_HOME}/nginx/sbin"
|
|
EXPOSE 8080
|
|
|
|
ENTRYPOINT ["/run/entrypoint.sh"] |