Dockerfile

18 lines | 365 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/auth2

COPY www/auth2/* /var/www/html/auth2/

CMD /usr/sbin/apache2ctl -D FOREGROUND