Add lamp to apache group; Add VOLUME for ssh
This commit is contained in:
parent
57107e688b
commit
0c1db2507c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user