From 20c28981b97a32c4c5cb9362e01e8376db4b9c08 Mon Sep 17 00:00:00 2001 From: German Toro del Valle Date: Fri, 3 Jul 2015 10:16:25 +0200 Subject: [PATCH] Adding Dockerfile for automated build in Docker --- Dockerfile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..aef97f15 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,16 @@ +FROM node:0.10.39 + +MAINTAINER Germán Toro del Valle + +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"]