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

Dockerfile 473B

12345678910111213141516
  1. FROM node:7
  2. # FROM ubuntu:16.04
  3. RUN echo 'deb http://ftp.debian.org/debian jessie-backports main' >> /etc/apt/sources.list
  4. RUN mkdir -p /usr/src/app
  5. WORKDIR /usr/src/app
  6. COPY package.json /usr/src/app/
  7. RUN apt-get update -y && apt-get upgrade -y && \
  8. apt-get install -y nodejs npm libcairo2-dev libjpeg62-turbo-dev libpango1.0-dev libgif-dev libpng-dev build-essential g++ ffmpeg
  9. COPY ./ /usr/src/app/
  10. RUN npm install --production
  11. EXPOSE 8888
  12. CMD [ "npm", "start" ]