Skip to content

Instantly share code, notes, and snippets.

@Laurian
Last active October 13, 2016 01:36
Show Gist options
  • Save Laurian/32a1250e270ad5d31a75e0a729179c79 to your computer and use it in GitHub Desktop.
Save Laurian/32a1250e270ad5d31a75e0a729179c79 to your computer and use it in GitHub Desktop.
Simple fix for local file changes for https://github.com/nypublicradio/audiogram
FROM ubuntu:16.04
# Install dependencies
RUN apt-get update --yes && apt-get upgrade --yes
RUN apt-get install git nodejs npm \
libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential g++ \
ffmpeg \
libgroove-dev zlib1g-dev libpng-dev \
redis-server --yes
RUN ln -s `which nodejs` /usr/bin/node
# Non-privileged user
RUN useradd -m audiogram
# USER audiogram
WORKDIR /home/audiogram
# Clone repo
# RUN git clone https://github.com/nypublicradio/audiogram.git
COPY . /home/audiogram/audiogram
WORKDIR /home/audiogram/audiogram
# Install dependencies
RUN npm install
@frenchpress
Copy link

Never mind. We got it fixed! Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment