From 6e48c72e79ab787d77cee74d331fea1a7fd2e649 Mon Sep 17 00:00:00 2001
From: Cyril L'Orphelin <cyril.lorphelin@cc.in2p3.fr>
Date: Wed, 5 Feb 2020 13:01:36 +0000
Subject: [PATCH] Update Dockerfile

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

diff --git a/Dockerfile b/Dockerfile
index 831339bd..d1ce688c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -38,10 +38,11 @@ RUN npm cache clean -f
 RUN npm install -g n
 RUN n stable
 RUN curl -o- -L https://yarnpkg.com/install.sh | bash
-RUN export PATH="$HOME/.yarn/bin:$PATH"
+ENV PATH "$PATH:$HOME/.yarn/bin"
 
-RUN $HOME/.yarn/bin/yarn install --ignore-engines
-RUN  $HOME/.yarn/bin/yarn encore dev
+
+RUN yarn install --ignore-engines
+RUN yarn encore dev
 
 
 EXPOSE 8000/tcp
-- 
GitLab