Dockerfile
FROM centos:centos7 RUN yum update -y && yum clean all RUN yum install -y epel-release RUN yum -y install install http://rpms.famillecollet.com/enterprise/remi-release-7.rpm RUN yum install -y httpd RUN yum -y install --enablerepo=remi,remi-php74 php php-devel php-mbstring php-pdo php-xml php-gd php-fpm php-mysqlnd php-opcache php-pecl-zip libzip5 COPY . /var/www/html/ EXPOSE 80 443 CMD ["/usr/sbin/httpd", "-D", "FOREGROUND"]
sudo docker build -t mycentos .
sudo docker run -dit –name myapp -p 8080:80 mycentos
なるほど、少し見えてきた
apacheのドキュメントルート変更、環境変数の設定周りをやりたい