Dockerfile 455 B

12345678910111213141516171819
  1. FROM cloudron/base:0.8.0
  2. MAINTAINER Johannes Zellner <johannes@cloudron.io>
  3. ENV PATH /usr/local/node-4.2.1/bin:$PATH
  4. EXPOSE 4567
  5. RUN mkdir -p /app/code
  6. WORKDIR /app/code
  7. RUN git clone -b v0.8.x https://github.com/NodeBB/NodeBB.git .
  8. RUN npm install
  9. # these links will become valid after setup is run
  10. RUN rm -rf /app/code/config.json && ln -sf /app/data/config.json /app/code/config.json
  11. ADD start.sh /app/code/start.sh
  12. CMD [ "/app/code/start.sh" ]