diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..10c16fe --- /dev/null +++ b/Dockerfile @@ -0,0 +1,16 @@ +FROM node:10 + +# Create app directory +WORKDIR /usr/src/app + +# Install app dependencies +# A wildcard is used to ensure both package.json AND package-lock.json are copied +# where available (npm@5+) +COPY package*.json ./ + + +# Bundle app source +COPY . . + +EXPOSE 3000 10001 +CMD [ "node", "Example.js" ] \ No newline at end of file