Skip to content

Commit c719d81

Browse files
committed
dockerfile testing
1 parent 757ccb5 commit c719d81

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Dockerfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
FROM httpd:2.4
22
COPY ./public-html/ /usr/local/apache2/htdocs/
3+
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"]
312
EXPOSE 80
413

514

0 commit comments

Comments
 (0)