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