Created
June 4, 2015 17:25
-
-
Save ecc1/8d9a3e152f29453149c6 to your computer and use it in GitHub Desktop.
Dockerfile for Nightscout cgm-remote-monitor
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 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