From 608e10cf434dde98ae523c1f68d80c776f922727 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Sun, 9 Aug 2020 11:43:25 +0200 Subject: [PATCH] Add Dockerfile --- Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..26cadc5 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM node:12 + +# Create app directory +WORKDIR /usr/src/app + +# Install app dependencies +COPY package*.json ./ + +RUN npm install + +# Bundle app source +COPY . . + +EXPOSE 3000 +CMD [ "node", "index.js" ]