diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000000..93f1361991 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +node_modules +npm-debug.log diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000000..793bac2cd5 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM node:10 + +WORKDIR /usr/src/app + +COPY package*.json ./ + +RUN npm ci --only=production +COPY . . + +EXPOSE 3000 +CMD [ "npm", "start" ]