zeus 3 years ago
parent
commit
5b03812058
  1. 4
      install/usr/share/swarmlab.io/sec/swarmlab-sec

4
install/usr/share/swarmlab.io/sec/swarmlab-sec

@ -171,7 +171,7 @@ 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 /usr/local/node-sqlite3/node-sqlite3 WORKDIR /home/docker/project
COPY .vimrc /home/docker COPY .vimrc /home/docker
EXPOSE 3787 EXPOSE 3787
USER docker USER docker
@ -257,7 +257,7 @@ 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 /usr/local/node-sqlite3/node-sqlite3 WORKDIR /home/docker/project
EXPOSE 3787 EXPOSE 3787
USER docker USER docker
EOF EOF

Loading…
Cancel
Save