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

Dockerfile 526B

123456789101112131415161718
  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 package.json* yarn.lock* .npmrc* /usr/src/app/
  10. RUN npm install --production
  11. COPY ./ /usr/src/app/
  12. EXPOSE 8888
  13. CMD [ "npm", "start" ]