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

Dockerfile 520B

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 libpng-dev build-essential g++ \
  6. ffmpeg \
  7. redis-server --yes
  8. RUN ln -s `which nodejs` /usr/bin/node
  9. # Non-privileged user
  10. RUN useradd -m audiogram
  11. USER audiogram
  12. WORKDIR /home/audiogram
  13. # Clone repo
  14. RUN git clone https://github.com/newscorp-ghfb/audiogram.git
  15. WORKDIR /home/audiogram/audiogram
  16. # Install dependencies
  17. RUN npm install