aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorRubén Beltrán del Río <ben@nsovocal.com>2017-02-18 17:55:13 -0600
committerGitHub <noreply@github.com>2017-02-18 17:55:13 -0600
commit5e981bca19ace2a7704f267175b6aa368e63bda0 (patch)
treed38e6cbd1762837d3fae81b5029a9c0b48fa08b4 /Dockerfile
parentdc10b1de1a73effd6d0ab5744709913ef5cbe5b3 (diff)
Initial Setup (#1)
* Add git ignore * Add eslint config * Add dummy project files * Add jsdoc config * Add docker files * Add changelog, contributing and readme * Add travis files * Add Paw helper * Add travis test docker compose file * Name the ci service appropriately
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..87756e2
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,14 @@
+FROM node:6.9.4
+
+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/dead_drop" ])