aboutsummaryrefslogtreecommitdiff
path: root/apps/mi-gateway/Dockerfile
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2019-07-23 13:17:56 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2019-07-23 13:17:56 +0200
commit67f5d1008eef96f13dbf8910092155b7aa1bcee4 (patch)
tree00901863a6ab5c24c3e5616a9d4308499810c568 /apps/mi-gateway/Dockerfile
parentba76764c198e9232b3152568008d5aa5199a1fd0 (diff)
downloadk8s-sandbox-67f5d1008eef96f13dbf8910092155b7aa1bcee4.tar.gz
k8s-sandbox-67f5d1008eef96f13dbf8910092155b7aa1bcee4.tar.bz2
k8s-sandbox-67f5d1008eef96f13dbf8910092155b7aa1bcee4.tar.xz
k8s-sandbox-67f5d1008eef96f13dbf8910092155b7aa1bcee4.zip
o Merging in Terraform setup.
Diffstat (limited to 'apps/mi-gateway/Dockerfile')
-rw-r--r--apps/mi-gateway/Dockerfile16
1 files changed, 16 insertions, 0 deletions
diff --git a/apps/mi-gateway/Dockerfile b/apps/mi-gateway/Dockerfile
new file mode 100644
index 0000000..dbb042d
--- /dev/null
+++ b/apps/mi-gateway/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" ]