mirror of
https://github.com/casjaysdevdocker/bun
synced 2025-01-18 00:34:24 -05:00
🗃️ Committing everything that changed 🗃️
This commit is contained in:
parent
00d4cb4a37
commit
ed1c5e839f
@ -60,7 +60,7 @@ ENV SHELL="/bin/bash" \
|
||||
|
||||
COPY --from=build /. /
|
||||
|
||||
WORKDIR /root
|
||||
WORKDIR /data
|
||||
|
||||
VOLUME [ "/config","/data" ]
|
||||
|
||||
|
@ -118,16 +118,6 @@ if [ ! -e "/config/$APPNAME" ] && [ -e "$DEFAULT_CONF_DIR/$APPNAME" ]; then
|
||||
cp -Rf "$DEFAULT_CONF_DIR/$APPNAME" "/config/$APPNAME"
|
||||
fi
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# Create config symlinks
|
||||
for conf in /config/*; do
|
||||
if [ -e "/etc/$conf" ]; then
|
||||
if [ ! -d "/config/bin" ]; then
|
||||
rm -Rf "/etc/${conf:?}"
|
||||
ln -sf "/config/$conf" "/etc/$conf"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# Setup bun
|
||||
mkdir -p "/data" && cd "/data" || exit 10
|
||||
if [ -z "$1" ] && [ -z "$(ls -A "/app"/* 2>/dev/null)" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user