diff --git a/backend/Dockerfile b/backend/Dockerfile index 4cc2ab6aba..9b871773eb 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -64,7 +64,7 @@ ENV NODE_PATH $NVM_DIR/v$NODE_VERSION/lib/node_modules ENV PATH $NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH # Copy backend source and build release -COPY ./* /home/uxbox/backend/ +COPY . /home/uxbox/backend RUN set -ex; \ ls -l backend; \ bash -c "/home/uxbox/backend/scripts/dist" diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 26daeebc5f..3827d7f6df 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -66,7 +66,7 @@ ENV PATH $NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH 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 set -ex; \ ls -l frontend; \ cd frontend; \