Created
September 8, 2016 16:25
-
-
Save Ravenstine/1b3674e7d5520b02cfe19d84f27807e8 to your computer and use it in GitHub Desktop.
KPCC Audiogram Dockerfile
This file contains hidden or 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 | |
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