From cc69fef4b7e1587a91a0603d4bd1a46d0b133dd5 Mon Sep 17 00:00:00 2001 From: Rubén Beltrán del Río Date: Tue, 13 Dec 2016 00:24:01 -0600 Subject: Initial Setup (#1) * Add basic files * Add eslint file * Add docker files * Update readme * Add circle CI Config * Use actual test ci command * Don't build on test_ci * Add a dockerignore file * Install newer version of docker compose * Install newer docker on circle CI * Restore docker services * Use docker run to propagate exit status * Copy package.json into docker * Push image on success * Push develop/master to dockerhub * Add travis file since circle env is odd * Remove circle ci config * Account for http style origins * Add docker build command to travis * Add contributing text * Add the changelog --- Dockerfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Dockerfile (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..38d991a --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +FROM node:6.9.2 + +RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - +RUN echo "deb http://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list +RUN apt-get update && apt-get install yarn + +WORKDIR /app + +COPY package.json /app/ +COPY yarn.lock /app/ +RUN yarn install +COPY . /app + +ENTRYPOINT [ "node", "bin/dasein" ]) -- cgit