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

Dockerfile 887B

123456789101112131415161718192021
  1. FROM node:7
  2. # FROM ubuntu:16.04
  3. RUN echo "deb [check-valid-until=no] http://cdn-fastly.deb.debian.org/debian jessie main" > /etc/apt/sources.list.d/jessie.list
  4. RUN echo "deb [check-valid-until=no] http://archive.debian.org/debian jessie-backports main" > /etc/apt/sources.list.d/jessie-backports.list
  5. RUN sed -i '/deb http:\/\/deb.debian.org\/debian jessie-updates main/d' /etc/apt/sources.list
  6. RUN apt-get -o Acquire::Check-Valid-Until=false update
  7. RUN mkdir -p /usr/src/app
  8. WORKDIR /usr/src/app
  9. COPY package.json /usr/src/app/
  10. RUN apt-get -o Acquire::Check-Valid-Until=false update -y && apt-get upgrade -y && \
  11. apt-get install -y nodejs npm libcairo2-dev libjpeg62-turbo-dev libpango1.0-dev libgif-dev libpng-dev build-essential g++ ffmpeg
  12. COPY package.json* yarn.lock* .npmrc* /usr/src/app/
  13. RUN npm install --production
  14. COPY ./ /usr/src/app/
  15. EXPOSE 8888
  16. CMD [ "npm", "start" ]