Public Repository

Last pushed: a year ago
Short Description
Dockerfile ese
Full Description

Dockerfile

FROM ubuntu:14.04
MAINTAINER Tawatchai Iempairote twatchai@go.buu.ac.th
RUN apt-get -yqq update
RUN apt-get -yqq install apache2
VOLUME ["/var/www/html"]
WORKDIR /var/www/html
ENV APACHE_RUN_USER www-data
ENV APACHE_RUN_GROUP www-data
ENV APACHE_LOG_DIR /var/log/apache2
ENV APACHE_PID_FILE /var/run/apache2.pid
ENV APACHE_RUN_DIR /var/run/apache2
ENV APACHE_LOCK_DIR /var/lock/apache2
RUN mkdir -p $APACHE_RUN_DIR $APACHE_LOCK_DIR $APACHE_LOG_DIR
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
EXPOSE 80
RUN apt-get -yqq install mysql-server libapache2-mod-auth-mysql php5-mysql
RUN mysql_install_db
EXPOSE 3306
RUN apt-get -yqq install php5 libapache2-mod-php5 php5-mcrypt
CMD ["mkdir","/var/www/html/ese"]
ADD ./ese /var/www/html/ese/

ese [directory]
lost.html

Docker Pull Command
Owner
buraphacloud

Comments (0)