From 544a7126245d018ac13f17de11722648df247b74 Mon Sep 17 00:00:00 2001 From: Deon George Date: Wed, 26 Jul 2023 21:13:08 +1000 Subject: [PATCH] Change lamp's home dir --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0388b79..ce8147d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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