diff --git a/custom_dc/build_image.md b/custom_dc/build_image.md index d46e141eb..df3fec9dd 100644 --- a/custom_dc/build_image.md +++ b/custom_dc/build_image.md @@ -35,7 +35,8 @@ If you want to pick up the latest prebuilt version, do the following: -p 8080:8080 \ -e DEBUG=true \ --env-file $PWD/custom_dc/env.list \ - -v $PWD/custom_dc/sample:$PWD/custom_dc/sample \ + -v INPUT_DIRECTORY:INPUT_DIRECTORY \ + -v OUTPUT_DIRECTORY:OUTPUT_DIRECTORY \ gcr.io/datcom-ci/datacommons-services:latest ``` diff --git a/custom_dc/custom_data.md b/custom_dc/custom_data.md index b42e3e6f2..1aae67ef1 100644 --- a/custom_dc/custom_data.md +++ b/custom_dc/custom_data.md @@ -263,6 +263,7 @@ In one terminal window, from the root directory, run the following command to st docker run \ --env-file $PWD/custom_dc/env.list \ \ -v INPUT_DIRECTORY:INPUT_DIRECTORY \ +-v OUTPUT_DIRECTORY:OUTPUT_DIRECTORY \ gcr.io/datcom-ci/datacommons-data:stable @@ -273,6 +274,7 @@ docker run -it \ -p 8080:8080 \ -e DEBUG=true \ --env-file $PWD/custom_dc/env.list \ +-v INPUT_DIRECTORY:INPUT_DIRECTORY \ -v OUTPUT_DIRECTORY:OUTPUT_DIRECTORY \ gcr.io/datcom-ci/datacommons-services:stable diff --git a/custom_dc/data_cloud.md b/custom_dc/data_cloud.md index 9614b21a6..824fbdb3b 100644 --- a/custom_dc/data_cloud.md +++ b/custom_dc/data_cloud.md @@ -189,6 +189,7 @@ From your project root directory, run: docker run \ --env-file $PWD/custom_dc/env.list \ -v INPUT_DIRECTORY:INPUT_DIRECTORY \ +-v OUTPUT_DIRECTORY:OUTPUT_DIRECTORY \ -e GOOGLE_APPLICATION_CREDENTIALS=/gcp/creds.json \ -v $HOME/.config/gcloud/application_default_credentials.json:/gcp/creds.json:ro \ gcr.io/datcom-ci/datacommons-data:VERSION @@ -221,6 +222,7 @@ docker run -it \ -e DEBUG=true \ -e GOOGLE_APPLICATION_CREDENTIALS=/gcp/creds.json \ -v $HOME/.config/gcloud/application_default_credentials.json:/gcp/creds.json:ro \ +-v INPUT_DIRECTORY:INPUT_DIRECTORY \ -v OUTPUT_DIRECTORY:OUTPUT_DIRECTORY \ [-v $PWD/server/templates/custom_dc/custom:/workspace/server/templates/custom_dc/custom \] [-v $PWD/static/custom_dc/custom:/workspace/static/custom_dc/custom \]