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