mirror of
https://github.com/casjaysdevdocker/deno
synced 2025-01-18 18:34:21 -05:00
🗃️ modified: bin/entrypoint-deno.sh 🗃️
This commit is contained in:
parent
c89ce6b4a6
commit
929ffb49bc
@ -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
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
Loading…
x
Reference in New Issue
Block a user