Turn audio into a shareable video. forked from nypublicradio/audiogram

Dockerfile 547B

123456789101112131415161718192021222324
  1. FROM ubuntu:16.04
  2. # Install dependencies
  3. RUN apt-get update --yes && apt-get upgrade --yes
  4. RUN apt-get install git nodejs npm \
  5. libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential g++ \
  6. ffmpeg \
  7. libgroove-dev zlib1g-dev libpng-dev \
  8. redis-server --yes
  9. RUN ln -s `which nodejs` /usr/bin/node
  10. # Non-privileged user
  11. RUN useradd -m audiogram
  12. USER audiogram
  13. WORKDIR /home/audiogram
  14. # Clone repo
  15. RUN git clone https://github.com/nypublicradio/audiogram.git
  16. WORKDIR /home/audiogram/audiogram
  17. # Install dependencies
  18. RUN npm install