Dockerfile 261 B

123456789101112
  1. FROM ubuntu:16.04
  2. RUN apt-get update && \
  3. apt-get install -y npm nodejs git
  4. ADD sendd /sendd
  5. ADD start.sh /start.sh
  6. CMD chmod +x /start.sh
  7. EXPOSE 3000 9000
  8. ENV HOST=localhost
  9. ENV PEERJSPORT=9000
  10. ENV HTTPPORT=3000
  11. CMD su -c "export HOST=$HOST && /start.sh"