Created
April 28, 2018 16:54
-
-
Save yakubenko/7ad83bb56a6af5b5ce5de6954e99f178 to your computer and use it in GitHub Desktop.
Revisions
-
yakubenko renamed this gist
Apr 28, 2018 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
yakubenko created this gist
Apr 28, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,28 @@ FROM ubuntu:18.04 ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update RUN apt-get install -y apache2 RUN apt-get install -y php php-common php-cli php-mysql php-curl \ php-mbstring php-xml php-intl php-gd php-json \ php-zip php-xdebug RUN a2enmod rewrite RUN apt-get install -y iputils-ping RUN apt-get install -y wget COPY 001-default.conf /etc/apache2/sites-available/000-default.conf COPY ports.conf /etc/apache2/ports.conf RUN mkdir /var/www/app/ VOLUME /var/www/app EXPOSE 80 CMD /usr/sbin/apache2ctl -D FOREGROUND