From fe24ef424713d032c576e9b755583726132cbd6f Mon Sep 17 00:00:00 2001
From: FORESTIER Fabien <fabien.forestier@soprasteria.com>
Date: Wed, 5 Jun 2019 17:28:47 +0200
Subject: [PATCH] Add postinstall script in  dockerfile

---
 Dockerfile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Dockerfile b/Dockerfile
index a385161..e441522 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -9,6 +9,9 @@ RUN npm install
 # Copy the project
 COPY . /app
 
+# Launch postinstall script (to include crypto module)
+RUN npm run postinstall
+
 ARG conf
 
 # Building the Angular app /dist 
-- 
GitLab