From 8a38f0da7949ec04dfd6dacc5e48a2ca65aa2209 Mon Sep 17 00:00:00 2001 From: casjay Date: Wed, 12 Oct 2022 22:33:46 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Committing=20everything?= =?UTF-8?q?=20that=20changed=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/entrypoint-bun.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/entrypoint-bun.sh b/bin/entrypoint-bun.sh index 046699c..6cce4ff 100755 --- a/bin/entrypoint-bun.sh +++ b/bin/entrypoint-bun.sh @@ -122,7 +122,6 @@ fi mkdir -p "/data/htdocs/www" && cd "/data/htdocs/www" || exit 10 if [ -z "$1" ] && [ -z "$(ls -A "/data/htdocs/www"/* 2>/dev/null)" ]; then cp -Rf "/usr/local/share/template-files/data/htdocs/www/." "/data/htdocs/www/" - RUN_SCRIPT="src/index.ts" fi # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Additional commands @@ -167,7 +166,7 @@ bun) RUN_SCRIPT="server.ts" fi bun install - bun dev "${START:-$START_SCRIPT}" + bun dev ${RUN_SCRIPT:-$START_SCRIPT} exit ${exitCode:-$?} else __exec_command "$@"