Add lamp to apache group; Add VOLUME for ssh

This commit is contained in:
Deon George 2017-01-25 22:34:13 +11:00
parent 57107e688b
commit 0c1db2507c

View File

@ -56,8 +56,9 @@ COPY .my.cnf /root/
COPY 10-default.conf /etc/httpd/conf.d/ COPY 10-default.conf /etc/httpd/conf.d/
RUN ln -f /etc/.ln/httpd/conf.d/awstats.conf /etc/httpd/conf.d/awstats.conf && ln -f /etc/.ln/opendkim.conf /etc/opendkim.conf RUN ln -f /etc/.ln/httpd/conf.d/awstats.conf /etc/httpd/conf.d/awstats.conf && ln -f /etc/.ln/opendkim.conf /etc/opendkim.conf
RUN useradd -c "Hosting Admin User" -m lamp RUN useradd -c "Hosting Admin User" -m lamp -G apache
VOLUME [ "/etc/ssh" ]
EXPOSE 80 443 EXPOSE 80 443
# Starting # Starting