Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
FROM centos:latest
MAINTAINER vikashashoke@gmail.com
RUN yum install -y httpd \
MAINTAINER amol2929funde@gmail.com
RUN apt install -y apache2 \
zip\
unzip
ADD https://www.free-css.com/assets/files/free-css-templates/download/page254/photogenic.zip /var/www/html/
WORKDIR /var/www/html/
RUN unzip photogenic.zip
RUN cp -rvf photogenic/* .
RUN rm -rf photogenic photogenic.zip
CMD ["/usr/sbin/httpd", "-D", "FOREGROUND"]
RUN a2enmod rewrite
RUN chown -R www-data:www-data /var/www/html
CMD ["/usr/sbin/apache2", "-D", "FOREGROUND"]
EXPOSE 80


Expand Down