|
|
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
|
...
|
...
|
|