Skip to content

Commit 757ccb5

Browse files
committed
new file type
1 parent fc4da80 commit 757ccb5

File tree

1 file changed

+18
-11
lines changed

1 file changed

+18
-11
lines changed

Dockerfile

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,22 @@
1-
FROM centos:latest
2-
3-
RUN yum install httpd -y
4-
RUN yum install zip -y
5-
RUN yum install unzip -y
6-
ADD https://www.free-css.com/assets/files/free-css-templates/download/page254/photogenic.zip /var/www/html/
7-
WORKDIR /var/www/html/
8-
RUN unzip photogenic.zip
9-
RUN cp -rvf photogenic/* .
10-
RUN rm -rf photogenic photogenic.zip
11-
CMD ["/usr/sbin/httpd", "-D", "FOREGROUND"]
1+
FROM httpd:2.4
2+
COPY ./public-html/ /usr/local/apache2/htdocs/
123
EXPOSE 80
4+
5+
6+
7+
8+
#FROM centos:latest
9+
10+
#RUN yum install httpd -y
11+
#RUN yum install zip -y
12+
#RUN yum install unzip -y
13+
#ADD https://www.free-css.com/assets/files/free-css-templates/download/page254/photogenic.zip /var/www/html/
14+
#WORKDIR /var/www/html/
15+
#RUN unzip photogenic.zip
16+
#RUN cp -rvf photogenic/* .
17+
#RUN rm -rf photogenic photogenic.zip
18+
#CMD ["/usr/sbin/httpd", "-D", "FOREGROUND"]
19+
#EXPOSE 80
1320

1421

1522
# FROM centos:latest

0 commit comments

Comments
 (0)