Nextcloud, Hyperling.com, LibreTranslate, and backup.sh Enhancements #11

Merged
me merged 34 commits from dev into main 2025-10-14 14:58:59 -07:00
Showing only changes of commit 9314bb8bb4 - Show all commits

View File

@@ -18,12 +18,14 @@ RUN npm install
CMD cd /var/www/api && \
echo "Dockerfile: Ensure symlink is properly deleted if it exists..." && \
ls -l website/files; rm -v website/files; sleep 0 && \
echo "Dockerfile: Clone the website's Git repo... BRANCH='$BRANCH'" && \
echo "Dockerfile: Clone the website's Git repo..." && \
rm -rfv website && \
git clone https://git.hyperling.com/me/nodejs-website $BRANCH website && \
echo "Dockerfile: Remove dummy files and replace with symlink..." && \
rm -rfv website/files && \
cd website && \
echo -n "Dockerfile: Using branch " && \
git branch && \
ln -sv ../files ./files && \
echo "Dockerfile: Allow files under files/ to be ignored by Git..." && \
find ./files -exec git update-index --assume-unchanged {} \; && \