diff --git a/backend/Dockerfile b/backend/Dockerfile index 8034cc6f5..129f329ac 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -67,6 +67,7 @@ ENV PATH $NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH COPY . /home/uxbox/backend RUN set -ex; \ rm -f Dockerfile docker-entrypoint.sh; \ + cd backend; \ bash -c "/home/uxbox/backend/scripts/dist.sh" diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 37ac5457c..54add8960 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -70,7 +70,7 @@ COPY . /home/uxbox/frontend RUN set -ex; \ rm -f Dockerfile; \ cd frontend; \ - sed -i \ + sudo sed -i \ -e 's|"uxbox.config.url" ".*"|"uxbox.config.url" "${API_URL}/api"|g' \ scripts/figwheel.clj; \ npm install; \