From c9cf540d8e11bacd168e5ecb2b031a42a62f8c62 Mon Sep 17 00:00:00 2001 From: "mathieu.brunot" Date: Fri, 15 Feb 2019 18:10:35 +0100 Subject: [PATCH] :green_heart: Fix permissions and paths --- .travis.yml | 6 +++--- backend/Dockerfile | 2 ++ frontend/Dockerfile | 3 ++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 46a9469b9..b8401899a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,10 +23,10 @@ before_script: - env | sort script: - - ./scripts/build-tests + - ./frontend/scripts/build-tests - nvm install $NODE_VERSION - node --version - - node out/tests.js + - node ./frontend/out/tests.js - ./manage.sh release-local - ./manage.sh release-docker @@ -38,4 +38,4 @@ notifications: email: false env: - - NODE_VERSION=10.15.1 + - NODE_VERSION=7.7.1 diff --git a/backend/Dockerfile b/backend/Dockerfile index 712a87c55..519c99559 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -1,5 +1,7 @@ FROM monogramm/docker-uxbox-builder:latest +ENV LEIN_ROOT=TRUE + # Copy backend source and build release COPY . /home/uxbox/backend RUN set -ex; \ diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 44094d44c..553a05bce 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -1,6 +1,7 @@ FROM monogramm/docker-uxbox-builder:latest -ENV API_URL http://127.0.0.1:6060/api +ENV API_URL=http://127.0.0.1:6060/api +ENV LEIN_ROOT=TRUE # Copy frontend source and build release COPY . /home/uxbox/frontend