Skip to content

Instantly share code, notes, and snippets.

@Telokis
Last active April 5, 2017 20:20
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save Telokis/af12a74c8493cdd57642196498e18055 to your computer and use it in GitHub Desktop.
Dockerfile for ninetainedo/nodebb docker image
FROM ubuntu:14.04
MAINTAINER Telokis
RUN apt-get -y update && apt-get -y install git curl
RUN curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
RUN apt-get install -y nodejs
RUN cd / ; git clone -b v1.4.5 https://github.com/NodeBB/NodeBB nodebb
RUN cd /nodebb ; npm i
VOLUME /nodebb
WORKDIR /nodebb
EXPOSE 4567
CMD ["./nodebb", "slog"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment