Skip to content

Instantly share code, notes, and snippets.

@Laurian
Last active October 13, 2016 01:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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

I've replaced the text in my local dockerfile with this text. It still doesn't seem to be reading my local themes.json file.

@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