Skip to content

Instantly share code, notes, and snippets.

@Ravenstine
Created September 8, 2016 16:25
Show Gist options
  • Save Ravenstine/1b3674e7d5520b02cfe19d84f27807e8 to your computer and use it in GitHub Desktop.
Save Ravenstine/1b3674e7d5520b02cfe19d84f27807e8 to your computer and use it in GitHub Desktop.
KPCC Audiogram Dockerfile
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
RUN mkdir -p /usr/src/audiogram
ADD . /usr/src/audiogram
WORKDIR /usr/src/audiogram
RUN npm install
EXPOSE 8888
CMD ["npm", "start"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment