Last active
October 13, 2016 01:36
-
-
Save Laurian/32a1250e270ad5d31a75e0a729179c79 to your computer and use it in GitHub Desktop.
Simple fix for local file changes for https://github.com/nypublicradio/audiogram
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Never mind. We got it fixed! Thank you!