-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
For quick demos for people in the Docker crowd..
- Loading branch information
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
FROM ubuntu:14.04 | ||
|
||
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get -y dist-upgrade | ||
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install apache2 libapache2-mod-php5 curl | ||
|
||
RUN rm /var/www/html/index.html | ||
|
||
ENV APACHE_RUN_USER www-data | ||
ENV APACHE_RUN_GROUP www-data | ||
ENV APACHE_LOG_DIR /var/log/apache2 | ||
ENV APACHE_LOCK_DIR /var/lock/apache2 | ||
ENV APACHE_PID_FILE /var/run/apache2/apache2.pid | ||
|
||
CMD ["/usr/sbin/apache2", "-D", "FOREGROUND"] | ||
|
||
ADD . /var/www/html/ | ||
|
||
EXPOSE 80 |