From cf9bb5016242a463ed445e739568dfcf4177e29d Mon Sep 17 00:00:00 2001 From: Alex Mikhalev Date: Mon, 9 Oct 2017 22:38:44 -0600 Subject: [PATCH] Added Dockerfile --- Dockerfile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..094f057 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM node:alpine + +ADD dist/ /app/dist +ADD public/ /app/public +ADD package.json /app/ +WORKDIR /app/ +RUN npm install --production + +EXPOSE 8080 +ENTRYPOINT [ "npm", "run", "start" ] \ No newline at end of file