mirror of
https://github.com/casjaysdevdocker/bun
synced 2025-01-18 12:34:33 -05:00
🗃️ Committing everything that changed 🗃️
This commit is contained in:
parent
f307de69c1
commit
8a38f0da79
@ -122,7 +122,6 @@ fi
|
|||||||
mkdir -p "/data/htdocs/www" && cd "/data/htdocs/www" || exit 10
|
mkdir -p "/data/htdocs/www" && cd "/data/htdocs/www" || exit 10
|
||||||
if [ -z "$1" ] && [ -z "$(ls -A "/data/htdocs/www"/* 2>/dev/null)" ]; then
|
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/"
|
cp -Rf "/usr/local/share/template-files/data/htdocs/www/." "/data/htdocs/www/"
|
||||||
RUN_SCRIPT="src/index.ts"
|
|
||||||
fi
|
fi
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
# Additional commands
|
# Additional commands
|
||||||
@ -167,7 +166,7 @@ bun)
|
|||||||
RUN_SCRIPT="server.ts"
|
RUN_SCRIPT="server.ts"
|
||||||
fi
|
fi
|
||||||
bun install
|
bun install
|
||||||
bun dev "${START:-$START_SCRIPT}"
|
bun dev ${RUN_SCRIPT:-$START_SCRIPT}
|
||||||
exit ${exitCode:-$?}
|
exit ${exitCode:-$?}
|
||||||
else
|
else
|
||||||
__exec_command "$@"
|
__exec_command "$@"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user