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