Skip to content

Instantly share code, notes, and snippets.

@dymurray
Created August 11, 2017 16:25
Show Gist options
  • Save dymurray/b0cdbeec66b9096faad6777d77457b9a to your computer and use it in GitHub Desktop.
Save dymurray/b0cdbeec66b9096faad6777d77457b9a to your computer and use it in GitHub Desktop.
FROM centos:7
RUN useradd -ms /bin/bash lounge
WORKDIR /home/lounge
RUN yum -y install gcc-c++ make
RUN curl -sL https://rpm.nodesource.com/setup_6.x | bash -
RUN yum -y install nodejs git
RUN git clone https://github.com/thelounge/lounge
WORKDIR /home/lounge/lounge
RUN npm install -g thelounge
USER lounge
CMD ["/usr/bin/lounge", "start"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment