Skip to content

Commit

Permalink
chore(runtime): ln custom node_module
Browse files Browse the repository at this point in the history
  • Loading branch information
0fatal committed Dec 12, 2023
1 parent 4559a00 commit 66f119f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions runtimes/nodejs/start.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

ln -s $CUSTOM_DEPENDENCY_BASE_PATH/node_modules $PWD/functions/node_modules > /dev/null 2>&1

# source .env
echo "****** start service: node $FLAGS --experimental-vm-modules --experimental-fetch ./dist/index.js *******"
exec node $FLAGS --experimental-vm-modules --experimental-fetch ./dist/index.js

0 comments on commit 66f119f

Please sign in to comment.