作者 Administrator

更新 Dockerfile

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