Dockerfile 528 B

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