diff --git a/backend/Dockerfile b/backend/Dockerfile index 5a3334f7ec..fcc2376b91 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -52,7 +52,7 @@ COPY ./scripts/lein /home/uxbox/.local/bin/lein RUN bash -c "/home/uxbox/.local/bin/lein version" # Copy backend source and build release -COPY . /home/uxbox/backend +COPY ./* /home/uxbox/backend RUN /home/uxbox/backend/scripts/dist diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 27386bbf78..80d225534e 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -54,7 +54,7 @@ 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 . /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' \