1 2 3 4 5 6 7 8 9 10 11 12 |
FROM centos:9 RUN dnf update -y \ && dnf install -y httpd httpd-devel ADD ./volumes/app/httpd.conf /etc/httpd/conf/httpd.conf RUN systemctl enable httpd.service EXPOSE 80 443 CMD "/sbin/init" |
1 2 3 4 5 6 7 8 9 10 11 12 |
FROM centos:9 RUN dnf update -y \ && dnf install -y httpd httpd-devel ADD ./volumes/app/httpd.conf /etc/httpd/conf/httpd.conf RUN systemctl enable httpd.service EXPOSE 80 443 CMD "/sbin/init" |