|
@@ -1,17 +1,6 @@
|
|
|
-From hub.evbj.easou.com/dev/centos:6.8
|
|
|
+From hub.evbj.easou.com/dev/nginx-1.15.5:1.0.0
|
|
|
|
|
|
-ENV LANG C.UTF-8
|
|
|
-ENV TZ=Asia/Shanghai
|
|
|
-
|
|
|
-RUN yum -y install gcc-c++ openssl-devel pcre zlib zip unzip\
|
|
|
- && ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone \
|
|
|
- && wget -O /usr/local/bin/gosu http://10.26.22.185:9000/psop/conf/dockerConfig/resin-api/gosu \
|
|
|
- && useradd nginx \
|
|
|
- && mkdir -p /app/soft
|
|
|
-
|
|
|
-RUN cd /app/soft \
|
|
|
- && wget http://10.26.22.185:9000/psop/soft/tengine.tar.gz \
|
|
|
- && unzip tenginx.zip
|
|
|
-
|
|
|
-
|
|
|
-CMD ["/app/soft/tengine/sbin/nginx"]
|
|
|
+RUN rm -f /usr/share/nginx/html/* \
|
|
|
+ && mkdir /usr/share/nginx/html/img
|
|
|
+COPY index.html /usr/share/nginx/html/
|
|
|
+COPY timg.jpeg /usr/share/nginx/html/img
|