aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorRubén Beltrán del Río <ben@nsovocal.com>2016-12-13 00:24:01 -0600
committerGitHub <noreply@github.com>2016-12-13 00:24:01 -0600
commitcc69fef4b7e1587a91a0603d4bd1a46d0b133dd5 (patch)
treea17bcd2bcda531ff4775ea3ce9133d770a0f4357 /Dockerfile
parent7eb26514c478cfa06a797e9d63a29ef6a6d16d59 (diff)
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
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile14
1 files changed, 14 insertions, 0 deletions
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" ])