#本地已有镜像 FROM docker.io/centos #作者信息 MAINTAINER liangyj liangyj@566560.com #安装epel-release RUN ["yum","install","-y","epel-release"] #安装php RUN yum install -y php #安装php-fpm RUN yum install -y php-fpm #暴露端口 EXPOSE 9000 #CMD["/usr/sbin/php-fpm","-D","--fpm-config","/etc/php-fpm.conf"]
本文出自 “ubuntu” 博客,请务必保留此出处http://thankinglove.blog.51cto.com/2311485/1794976
原文地址:http://thankinglove.blog.51cto.com/2311485/1794976