This is an automated email from the ASF dual-hosted git repository.
joshfischer pushed a commit to branch joshfischer/asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git
The following commit(s) were added to refs/heads/joshfischer/asf-site by this
push:
new f9afbf1 modifying directory path of volume in container
f9afbf1 is described below
commit f9afbf1c917ca3c64e7267fc968841efa2f517e0
Author: Josh Fischer <[email protected]>
AuthorDate: Tue Nov 26 21:27:29 2019 -0600
modifying directory path of volume in container
---
website2/website/scripts/build-site.sh | 4 ++--
website2/website/scripts/compile-docker.sh | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/website2/website/scripts/build-site.sh
b/website2/website/scripts/build-site.sh
index fea4b2a..2bd1099 100755
--- a/website2/website/scripts/build-site.sh
+++ b/website2/website/scripts/build-site.sh
@@ -23,8 +23,8 @@ VERSION=0.20
set -x -e
cd ${ROOT_DIR}/website2/website
-#npm install yarn
-npm build
+npm install yarn
+npm npm run-script build
node ./scripts/replace.js
diff --git a/website2/website/scripts/compile-docker.sh
b/website2/website/scripts/compile-docker.sh
index b93d016..2a63e91 100755
--- a/website2/website/scripts/compile-docker.sh
+++ b/website2/website/scripts/compile-docker.sh
@@ -63,7 +63,7 @@ docker build \
docker run \
--rm \
-u `id -u`:`id -g` \
- -v $PROJECT_DIR/..:/dist \
+ -v $PROJECT_DIR/..:/home/$USER/heron \
-v /etc/passwd:/etc/passwd \
- -t heron-compiler:$TARGET_PLATFORM make -C /dist/website2/website/ buildsite
+ -t heron-compiler:$TARGET_PLATFORM make -C
/home/$USER/heron/website2/website/ buildsite