dockerfile
FROM debian:jessie

#debian-base

RUN echo "deb http://mirror.unlp.edu.ar/debian/ jessie main contrib non-free" > /etc/apt/sources.list
RUN echo "deb http://mirror.unlp.edu.ar/debian/ jessie-updates main contrib non-free" >> /etc/apt/sources.list


RUN apt-get update && apt-get install -y \
  wget mc git supervisor cron rsyslog \
  nano less ssh screen \
  && apt-get install -f \
  && apt-get clean \
  && rm -rf /var/lib/apt/lists/*

ENV TZ=America/Argentina/Buenos_Aires
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

COPY debian-base/srsyslog.conf /etc/supervisor/conf.d/
COPY debian-base/scron.conf /etc/supervisor/conf.d/
COPY debian-base/entrypoint.sh /

#apache-php
RUN apt-get update && apt-get install -y \
  apache2 \
  libapache2-mod-php5 \
  php5 \
  && apt-get install -f \
  && apt-get clean \
  && rm -rf /var/lib/apt/lists/*


ENV APACHE_RUN_USER www-data
ENV APACHE_RUN_GROUP www-data
ENV APACHE_LOG_DIR /var/log/apache2


RUN /usr/sbin/a2ensite default-ssl
RUN /usr/sbin/a2ensite 000-default #modificarlo para adaptarlo al sitio
RUN /usr/sbin/a2enmod ssl

COPY apache-php/sapache2.conf /etc/supervisor/conf.d/


#sitio
COPY www/ /var/www/

COPY config/autoridad/config.php /var/www/autoridad/config/
COPY config/departamento/config.php /var/www/departamento/config/
COPY config/docente/config.php /var/www/docente/config/
COPY config/login/config.php /var/www/login/config/
#RUN rm  /var/www/index.html

#entry point
ENTRYPOINT ["/entrypoint.sh"]