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 a7c60d11ed
commit 0009e461d1

View File

@ -54,8 +54,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