Skip to content

Instantly share code, notes, and snippets.

@mollifier
Last active August 29, 2015 14:14

Revisions

  1. mollifier revised this gist Feb 4, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -7,4 +7,4 @@ WORKDIR /usr/local/app
    RUN git clone https://github.com/emanon001/drinking-water-watcher.git
    RUN cd drinking-water-watcher && npm install

    ENTRYPOINT cd /usr/local/app/drinking-water-watcher && DRINKING_WATER_WATCHER_PORT='9000' DATADOG_HOST='example.com' DATADOG_API_KEY='xxx' npm start
    ENTRYPOINT cd /usr/local/app/drinking-water-watcher && npm start
  2. mollifier created this gist Feb 4, 2015.
    10 changes: 10 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    FROM node:0.10.36

    MAINTAINER "Hideaki Miyake" <[email protected]>

    RUN mkdir -p /usr/local/app
    WORKDIR /usr/local/app
    RUN git clone https://github.com/emanon001/drinking-water-watcher.git
    RUN cd drinking-water-watcher && npm install

    ENTRYPOINT cd /usr/local/app/drinking-water-watcher && DRINKING_WATER_WATCHER_PORT='9000' DATADOG_HOST='example.com' DATADOG_API_KEY='xxx' npm start