Mercurial > hg > soundsoftware-site
diff extra/soundsoftware/dockertest/Dockerfile @ 1576:d1de6986e429 dockerise
Scripts to run the Hg repos
author | Chris Cannam |
---|---|
date | Fri, 04 Aug 2017 11:24:54 +0100 |
parents | 7b23adecd963 |
children | 06ca2df3d7ca |
line wrap: on
line diff
--- a/extra/soundsoftware/dockertest/Dockerfile Fri Aug 04 10:51:31 2017 +0100 +++ b/extra/soundsoftware/dockertest/Dockerfile Fri Aug 04 11:24:54 2017 +0100 @@ -62,6 +62,16 @@ RUN find /var/www/code -type d -exec chmod g+s \{\} \; +# Initialise /var/hg (in reality this would be mounted from somewhere) + +RUN mkdir -p /var/hg +RUN chown code.www-data /var/hg +RUN chmod g+s /var/hg +COPY extra/soundsoftware/dockertest/index.cgi /var/hg/ +COPY extra/soundsoftware/dockertest/hgweb.config /var/hg/ +RUN chmod +x /var/hg/index.cgi + + # We're based in the code webapp directory from here on WORKDIR /var/www/code