Change lamp's home dir

This commit is contained in:
Deon George 2023-07-26 21:13:08 +10:00
parent 49974b3f1e
commit 544a712624

View File

@ -12,7 +12,7 @@ ENV SSH_KEY_PATH=/etc/ssh/keys
RUN apk add --no-cache bash git unzip openssh
RUN sed -i -e "s:#HostKey\ /etc/ssh:HostKey ${SSH_KEY_PATH}:" /etc/ssh/sshd_config
RUN adduser -g "Hosting Admin User" -u 1000 -G www-data -h /var/www/html -HD lamp
RUN adduser -g "Hosting Admin User" -u 1000 -G www-data -h /home/lamp -HD lamp
# DB Clients
RUN apk add --no-cache mariadb-client postgresql-client
@ -20,7 +20,7 @@ RUN apk add --no-cache mariadb-client postgresql-client
COPY init /sbin/
VOLUME [ "/etc/ssh/keys" ]
VOLUME [ "/etc/ssh/keys","/home/lamp" ]
EXPOSE 22
# Starting