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

Dockerfile 523B

1234567891011121314151617181920212223
  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. # Clone repo
  14. RUN git clone https://github.com/nypublicradio/audiogram.git
  15. WORKDIR /home/audiogram/audiogram
  16. # Install dependencies
  17. RUN npm install