From 9314bb8bb469cdf8d22715471428f69a38808b6d Mon Sep 17 00:00:00 2001 From: Hyperling Date: Tue, 14 Oct 2025 14:32:26 -0700 Subject: [PATCH] Have the git command give us the branch instead. --- Config/Hyperling.com/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Config/Hyperling.com/Dockerfile b/Config/Hyperling.com/Dockerfile index b6c6191..183b365 100644 --- a/Config/Hyperling.com/Dockerfile +++ b/Config/Hyperling.com/Dockerfile @@ -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 {} \; && \