mirror of
https://github.com/casjaysdevdocker/deno
synced 2025-10-14 14:02:09 -04:00
🗃️ modified: bin/entrypoint-deno.sh 🗃️
This commit is contained in:
@@ -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
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
Reference in New Issue
Block a user