🗃️ modified: bin/entrypoint-deno.sh 🗃️

This commit is contained in:
Jason 2022-07-10 19:38:22 -04:00
parent c89ce6b4a6
commit 929ffb49bc
No known key found for this signature in database
GPG Key ID: 4F765975C1F0EE5F

View File

@ -57,12 +57,12 @@ case "$1" in
healthcheck) healthcheck)
echo 'OK' echo 'OK'
;; ;;
bash | shell | sh) sh | bash | shell | /bin/sh | /bin/bash)
shift 1 shift 1
__exec_bash "$@" __exec_bash "$@"
;; ;;
*) *)
exec deno run --allow-net "${@:-https://deno.land/std/examples/welcome.ts}" deno run --allow-net "${@:-/data/sample.ts}"
;; ;;
esac esac
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -