Browse Source

nginx

master
zeus 4 years ago
parent
commit
4a573ccf13
  1. 4
      Dockerfile

4
Dockerfile

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

Loading…
Cancel
Save