作者 Administrator

更新 Dockerfile

正在显示 1 个修改的文件 包含 6 行增加5 行删除
1 -FROM centos:centos7 1 +#FROM centos:centos7
  2 +FROM 192.168.0.243:5000/mmm/suplus-doc-press:20201125
2 MAINTAINER The CentOS Project <cloud-ops@centos.org> 3 MAINTAINER The CentOS Project <cloud-ops@centos.org>
3 4
4 -RUN yum -y update; yum clean all  
5 -RUN yum -y install epel-release; yum clean all  
6 -RUN yum -y install nginx; yum clean all  
7 -RUN echo "daemon off;" >> /etc/nginx/nginx.conf 5 +#RUN yum -y update; yum clean all
  6 +#RUN yum -y install epel-release; yum clean all
  7 +#RUN yum -y install nginx; yum clean all
  8 +#RUN echo "daemon off;" >> /etc/nginx/nginx.conf
8 #RUN echo "nginx on CentOS 7 inside Docker" > /usr/share/nginx/html/index.html 9 #RUN echo "nginx on CentOS 7 inside Docker" > /usr/share/nginx/html/index.html
9 COPY ./conf.d /etc/nginx/conf.d 10 COPY ./conf.d /etc/nginx/conf.d
10 COPY ./dist /home/project 11 COPY ./dist /home/project