|
|
@ -171,7 +171,8 @@ if [ -d "$Wdir/project" ]; then |
|
|
|
&& chown -R \${USER1}:\${USER1} \${SSHDIR} \ |
|
|
|
&& chown -R \${USER1}:\${USER1} \${USER_HOME} |
|
|
|
|
|
|
|
WORKDIR /home/docker/project |
|
|
|
#WORKDIR /home/docker/project |
|
|
|
WORKDIR /var/www/html |
|
|
|
COPY .vimrc /home/docker |
|
|
|
EXPOSE 3787 |
|
|
|
USER docker |
|
|
@ -257,7 +258,8 @@ if [ "$Wdir" == "$HOME" ]; then |
|
|
|
&& chown -R \${USER1}:\${USER1} \${USER_HOME} |
|
|
|
|
|
|
|
COPY .vimrc /home/docker |
|
|
|
WORKDIR /home/docker/project |
|
|
|
#WORKDIR /home/docker/project |
|
|
|
WORKDIR /var/www/html |
|
|
|
EXPOSE 3787 |
|
|
|
USER docker |
|
|
|
EOF |
|
|
|