Skip to content

Instantly share code, notes, and snippets.

@abuiles
Created August 2, 2016 16:37
Show Gist options
  • Select an option

  • Save abuiles/6645f15f3578987822a8512379069b4e to your computer and use it in GitHub Desktop.

Select an option

Save abuiles/6645f15f3578987822a8512379069b4e to your computer and use it in GitHub Desktop.
Audiogram
FROM ubuntu:latest
RUN apt-get -y update
RUN apt-get upgrade --yes && apt-get install -y git && apt-get install -y curl
RUN apt-get -y install sudo
RUN apt-get -y install nodejs npm libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential g++ ffmpeg libgroove-dev zlib1g-dev libpng-dev
RUN apt-get -y install redis-server
RUN ln -s `which nodejs` /usr/bin/node
RUN npm install -g n
RUN n stable
RUN useradd -m audiogram && echo "audiogram:audiogram" | chpasswd && adduser audiogram sudo
USER audiogram
WORKDIR /home/audiogram
RUN git clone https://github.com/nypublicradio/audiogram.git
WORKDIR /home/audiogram/audiogram
RUN npm install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment