Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save HristoKolev/9d064ad00668919831e951a8bef6a74f to your computer and use it in GitHub Desktop.
Save HristoKolev/9d064ad00668919831e951a8bef6a74f to your computer and use it in GitHub Desktop.
Container ENV variable passthrough to JS Frontend
echo "window.process.env = `jq env -n | jq 'with_entries(select(.key | startswith("REACT_APP_")))'`;" > env.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment