Skip to content

Instantly share code, notes, and snippets.

@ecc1
Created June 4, 2015 17:25
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ecc1/8d9a3e152f29453149c6 to your computer and use it in GitHub Desktop.
Save ecc1/8d9a3e152f29453149c6 to your computer and use it in GitHub Desktop.
Dockerfile for Nightscout cgm-remote-monitor
FROM debian:latest
RUN apt-get update
RUN apt-get install -y git npm
# make sure nodejs binary is available as node
RUN cd /usr/bin && ln -s nodejs node
COPY . /src
WORKDIR /src
RUN npm install
RUN node_modules/bower/bin/bower --allow-root install
EXPOSE 1337
CMD ["nodejs", "server.js"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment