From 67f5d1008eef96f13dbf8910092155b7aa1bcee4 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Tue, 23 Jul 2019 13:17:56 +0200 Subject: o Merging in Terraform setup. --- apps/mi-processor/Dockerfile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 apps/mi-processor/Dockerfile (limited to 'apps/mi-processor/Dockerfile') diff --git a/apps/mi-processor/Dockerfile b/apps/mi-processor/Dockerfile new file mode 100644 index 0000000..dbb042d --- /dev/null +++ b/apps/mi-processor/Dockerfile @@ -0,0 +1,16 @@ +FROM node:8 + +WORKDIR /opt + +COPY package*.json ./ + +RUN apt update && apt -y full-upgrade +RUN apt install -y postgresql-client +RUN npm install +# If you are building your code for production +# RUN npm ci --only=production + +COPY . . + +EXPOSE 8080 +CMD [ "npm", "start" ] -- cgit v1.2.3