Dockerfile 496 B

12345678910111213141516
  1. FROM cloudron/base:0.8.1
  2. MAINTAINER Johannes Zellner <johannes@cloudron.io>
  3. ENV PATH /usr/local/node-4.2.1/bin:$PATH
  4. RUN mkdir -p /app/code
  5. WORKDIR /app/code
  6. RUN curl -L https://github.com/NodeBB/NodeBB/archive/v1.0.3.tar.gz | tar -xz --strip-components 1 -f -
  7. RUN npm install --production
  8. # these links will become valid after setup is run
  9. RUN rm -rf /app/code/config.json && ln -sf /run/nodebb/config.json /app/code/config.json
  10. ADD start.sh /app/code/start.sh
  11. CMD [ "/app/code/start.sh" ]