|
|
@ -52,7 +52,7 @@ RUN ln -s /usr/local/bin/node /usr/bin/node |
|
|
|
|
|
|
|
ADD supervisord.conf /etc/supervisor/supervisord.conf |
|
|
|
ADD supervisord-iot.conf /etc/supervisor/conf.d/node-app.conf |
|
|
|
ADD mpi_bootstrap /home/node |
|
|
|
ADD mpi_bootstrap /usr/local/bin |
|
|
|
ADD startup.sh /home/node |
|
|
|
|
|
|
|
ADD ttyd /usr/bin |
|
|
@ -62,7 +62,7 @@ RUN mkdir -p /home/node/log \ |
|
|
|
&& mkdir -p /home/node/crond \ |
|
|
|
&& mkdir -p /home/node/run \ |
|
|
|
&& chmod -R 755 /home/node \ |
|
|
|
&& chmod +x /home/node/mpi_bootstrap \ |
|
|
|
&& chmod +x /usr/local/bin/mpi_bootstrap \ |
|
|
|
&& chmod +x /home/node/startup.sh \ |
|
|
|
&& chown -R node.node /home/node |
|
|
|
|
|
|
|