From 5082ba768080596c8b04fac93c65eac82131d3c6 Mon Sep 17 00:00:00 2001 From: Hexagon Date: Sun, 18 Dec 2016 00:03:43 +0100 Subject: [PATCH] Adding dockerfile --- .dockerignore | 2 ++ Dockerfile | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100644 .dockerignore create mode 100644 Dockerfile diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..5171c54 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +node_modules +npm-debug.log \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..7066b28 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,7 @@ +FROM node:argon +RUN mkdir -p /usr/src/app +WORKDIR /usr/src/app +COPY . /usr/src/app +RUN npm install +EXPOSE 8080 +CMD [ "npm", "start" ] \ No newline at end of file