FROM ubuntu:16.04 ## Install Base Packages RUN apt-get update && apt-get -y install \ apache2 \ make \ curl \ git \ gcc RUN a2enmod rewrite ## Install Perl RUN apt-get update && apt-get -y install \ libapache2-mod-perl2 \ perl RUN a2enmod perl ## Install PHP RUN apt-get update && apt-get -y install \ php7.0 php7.0-cli php7.0-common php7.0-fpm php7.0-json \ php7.0-mbstring php7.0-mcrypt php7.0-mysql php7.0-opcache php7.0-readline \ libapache2-mod-php7.0 RUN a2enmod rewrite EXPOSE 80 RUN mkdir -p /var/www/recordz COPY recordz1 /var/www COPY httpd.conf /etc/apache2/sites-available/ RUN a2ensite recordz CMD /usr/sbin/apache2ctl -D FOREGROUND