Created
April 28, 2018 16:54
-
-
Save yakubenko/7ad83bb56a6af5b5ce5de6954e99f178 to your computer and use it in GitHub Desktop.
This file contains 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 characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment