Dockerfile

18 lines | 362 B Blame History Raw Download
FROM ubuntu

RUN apt-get update && apt-get install -y apache2 && apt-get install -y libapache2-mod-auth-mellon

RUN mkdir /etc/apache2/mellon

COPY mellon/* /etc/apache2/mellon/

COPY auth_mellon.conf /etc/apache2/mods-enabled/

COPY www/* /var/www/html/

RUN mkdir /var/www/html/auth

COPY www/auth/* /var/www/html/auth/

CMD /usr/sbin/apache2ctl -D FOREGROUND