From e46a116bac1b1237b21f5032227c238c6e5aa45b Mon Sep 17 00:00:00 2001 From: Sylvain Bellemare Date: Thu, 28 Jan 2016 22:51:17 +0100 Subject: [PATCH] Add dockerfile --- .dockerignore | 6 ++++++ Dockerfile | 15 +++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 .dockerignore create mode 100644 Dockerfile diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 00000000..390ff2b1 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,6 @@ +.git +.eslintignore +.eslintrc +.gitignore +Dockerfile +README.md diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..ff4f2eed --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM node:5.5.0 + +RUN mkdir -p /usr/src/app +WORKDIR /usr/src/app + +COPY package.json /usr/src/app/ +RUN npm install +COPY . /usr/src/app +RUN npm install -g gulp + +EXPOSE 3000 +ENV ONION_BASE_URL='/' +ENV ONION_SERVER_URL='http://spool.ascribe:49880/' + +CMD [ "gulp", "serve" ]