Skip to content
Snippets Groups Projects
Commit 1bebc5cd authored by Bartek Wrona's avatar Bartek Wrona
Browse files

Eliminated proxy.js usage from NPM container (CORS proxy is handled by

dedicated ngnix instance)
parent 37a3c2d4
No related branches found
No related tags found
1 merge request!2Fix building hive examples docker image by adding hive-subdir option
......@@ -58,13 +58,6 @@ RUN pnpm install && \
cat <<EOF >>"/home/${USER_NAME}/start_instance.sh"
#! /bin/bash
set -e
{
echo "Attempting to start a redirect proxy to the hived node (to supplement CORS headers) ..."
node --env-file=.env ./examples/proxy/proxy.cjs 2>&1 | tee -i proxy.log
} &
job_pid=\$!
EXAMPLE_TO_RUN=\${1:-post-observer}
echo "Attempting to start example: ${EXAMPLE_TO_RUN}"
pnpm dlx parcel "./examples/\${EXAMPLE_TO_RUN}/index.html"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment