devtools: revert nodejs.sh change
Revert the change to devtools/nodejs.sh in CL 328890 for the deployment
script to work.
Shared logic between the two scripts will be updated in a future CL.
Trust: Julie Qiu
Run-TryBot: Julie Qiu
TryBot-Result: kokoro
@@ -10,4 +10,13 @@ set -e
# It passes env variables for e2e tests,
# mounts the pwd into a volume in the container at /pkgsite,
# and sets the working directory in the container to /pkgsite.
-docker-compose -f devtools/docker/docker-compose.yaml run nodejs $@
+
+docker run --net=host --rm -t \
+ -e CI \
+ -e GO_DISCOVERY_E2E_BASE_URL \
+ -e GO_DISCOVERY_E2E_AUTHORIZATION \
+ -e GO_DISCOVERY_E2E_QUOTA_BYPASS \
+ -e PUPPETEER_SKIP_CHROMIUM_DOWNLOAD \
+ -v `pwd`:/pkgsite \
+ -w /pkgsite \
+ node:14.17.0 $@
