Skip to content

Commit

Permalink
Merge pull request #151 from telefonicaid/release/0.1.0-dockerfile_in…
Browse files Browse the repository at this point in the history
…clusion

Add Dockerfile for automated build generation in Docker
  • Loading branch information
frbattid committed Jul 3, 2015
2 parents be35cf5 + 20c2898 commit 4b7b07a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM node:0.10.39

MAINTAINER Germán Toro del Valle <[email protected]>

RUN mkdir /github && mkdir /github/telefonicaid

WORKDIR /github/telefonicaid
RUN git clone https://github.com/telefonicaid/IoT-STH.git

WORKDIR /github/telefonicaid/IoT-STH
RUN git fetch && git checkout release/0.1.0 && npm install

EXPOSE 8666

WORKDIR /github/telefonicaid/IoT-STH
CMD ["npm", "start"]

0 comments on commit 4b7b07a

Please sign in to comment.