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" ]