From bc5fe6c6b86db0a970aa85517fcb0168df06664d Mon Sep 17 00:00:00 2001 From: "mathieu.brunot" Date: Thu, 14 Feb 2019 13:47:19 +0100 Subject: [PATCH] :whale: :green_heart: Fix copy of sources --- backend/Dockerfile | 4 ++-- frontend/Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index 6c636c6d8..5a3334f7e 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -48,11 +48,11 @@ RUN apt-get update && \ USER uxbox WORKDIR /home/uxbox -COPY ../backend/scripts/lein /home/uxbox/.local/bin/lein +COPY ./scripts/lein /home/uxbox/.local/bin/lein RUN bash -c "/home/uxbox/.local/bin/lein version" # Copy backend source and build release -COPY ../backend /home/uxbox/backend +COPY . /home/uxbox/backend RUN /home/uxbox/backend/scripts/dist diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 52e790a54..27386bbf7 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -48,13 +48,13 @@ RUN apt-get update && \ USER uxbox WORKDIR /home/uxbox -COPY ../frontend/scripts/lein /home/uxbox/.local/bin/lein +COPY ./scripts/lein /home/uxbox/.local/bin/lein RUN bash -c "/home/uxbox/.local/bin/lein version" ENV API_URL http://127.0.0.1:6060/api # Copy frontend source and build release -COPY ../frontend /home/uxbox/frontend +COPY . /home/uxbox/frontend RUN cd /home/uxbox/frontend; \ sed -i \ -e 's/"uxbox.config.url" ".*"/"uxbox.config.url" "${API_URL}/api"/g' \