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

Dockerfile 556B

12345678910111213141516171819202122232425
  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/nypublicradio/audiogram.git
  15. WORKDIR /home/audiogram/audiogram
  16. # Install dependencies
  17. RUN npm install
  18. CMD [ "npm", "start" ]