|
@ -8,6 +8,7 @@ LABEL MAINTAINERS="Guillaume Scheibel <guillaume.scheibel@gmail.com>, Damien DUP |
|
|
RUN apk add --no-cache \ |
|
|
RUN apk add --no-cache \ |
|
|
bash \ |
|
|
bash \ |
|
|
curl \ |
|
|
curl \ |
|
|
|
|
|
nginx \ |
|
|
ca-certificates \ |
|
|
ca-certificates \ |
|
|
findutils \ |
|
|
findutils \ |
|
|
font-bakoma-ttf \ |
|
|
font-bakoma-ttf \ |
|
@ -61,6 +62,7 @@ ADD ssl-ttyd /home/node/ssl-ttyd |
|
|
RUN mkdir -p /home/node/log \ |
|
|
RUN mkdir -p /home/node/log \ |
|
|
&& mkdir -p /home/node/crond \ |
|
|
&& mkdir -p /home/node/crond \ |
|
|
&& mkdir -p /home/node/run \ |
|
|
&& mkdir -p /home/node/run \ |
|
|
|
|
|
&& mkdir -p /run/nginx \ |
|
|
&& npm install pm2@latest -g \ |
|
|
&& npm install pm2@latest -g \ |
|
|
&& chmod -R 755 /home/node \ |
|
|
&& chmod -R 755 /home/node \ |
|
|
&& chmod +x /usr/local/bin/mpi_bootstrap \ |
|
|
&& chmod +x /usr/local/bin/mpi_bootstrap \ |
|
@ -70,6 +72,6 @@ RUN mkdir -p /home/node/log \ |
|
|
WORKDIR /home/node |
|
|
WORKDIR /home/node |
|
|
VOLUME /home/node |
|
|
VOLUME /home/node |
|
|
|
|
|
|
|
|
EXPOSE 8080 8088 8084 3081 |
|
|
EXPOSE 443 8088 3000 |
|
|
|
|
|
|
|
|
CMD ["/usr/bin/supervisord", "-c", "/home/node/startup.sh"] |
|
|
CMD ["/usr/bin/supervisord", "-c", "/home/node/startup.sh"] |
|
|