Created
August 2, 2016 16:37
-
-
Save abuiles/6645f15f3578987822a8512379069b4e to your computer and use it in GitHub Desktop.
Audiogram
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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