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

Dockerfile 1.0KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. FROM ubuntu:16.04
  2. # Install dependencies
  3. RUN apt-get --yes update && \
  4. apt-get --yes upgrade
  5. RUN apt-get --yes install git \
  6. nodejs \
  7. npm \
  8. libcairo2-dev \
  9. libjpeg8-dev \
  10. libpango1.0-dev \
  11. libgif-dev \
  12. libpng-dev \
  13. build-essential \
  14. g++ \
  15. ffmpeg \
  16. redis-server
  17. RUN update-alternatives --install /usr/bin/node node $(which nodejs) 50
  18. # Non-privileged user
  19. ARG UID=1000
  20. RUN useradd --create-home \
  21. --no-log-init \
  22. --shell /bin/false \
  23. --uid $UID \
  24. audiogram
  25. USER audiogram
  26. WORKDIR /home/audiogram
  27. # Clone repo
  28. RUN : breakcache0
  29. RUN git clone https://github.com/qrkourier/audiogram.git
  30. WORKDIR /home/audiogram/audiogram
  31. #VOLUME /home/audiogram/audiogram
  32. # Install dependencies
  33. RUN npm install
  34. CMD npm start