🗃️ Committing everything that changed 🗃️

This commit is contained in:
casjay 2022-10-12 16:42:48 -04:00
parent 00d4cb4a37
commit ed1c5e839f
No known key found for this signature in database
GPG Key ID: 4F765975C1F0EE5F
2 changed files with 1 additions and 11 deletions

View File

@ -60,7 +60,7 @@ ENV SHELL="/bin/bash" \
COPY --from=build /. / COPY --from=build /. /
WORKDIR /root WORKDIR /data
VOLUME [ "/config","/data" ] VOLUME [ "/config","/data" ]

View File

@ -118,16 +118,6 @@ if [ ! -e "/config/$APPNAME" ] && [ -e "$DEFAULT_CONF_DIR/$APPNAME" ]; then
cp -Rf "$DEFAULT_CONF_DIR/$APPNAME" "/config/$APPNAME" cp -Rf "$DEFAULT_CONF_DIR/$APPNAME" "/config/$APPNAME"
fi 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 # Setup bun
mkdir -p "/data" && cd "/data" || exit 10 mkdir -p "/data" && cd "/data" || exit 10
if [ -z "$1" ] && [ -z "$(ls -A "/app"/* 2>/dev/null)" ]; then if [ -z "$1" ] && [ -z "$(ls -A "/app"/* 2>/dev/null)" ]; then