From 394acfa06d14d4f999a0b20e61b00d9f61d64592 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Tue, 14 Oct 2025 14:08:13 -0700 Subject: [PATCH] Critical changes for upcoming Hyperling.com 2.0! Automatic page updates after a pull request within 30 seconds, no reload necessary! --- Config/Hyperling.com/Dockerfile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Config/Hyperling.com/Dockerfile b/Config/Hyperling.com/Dockerfile index 8a71a4d..18c8e99 100644 --- a/Config/Hyperling.com/Dockerfile +++ b/Config/Hyperling.com/Dockerfile @@ -16,10 +16,13 @@ RUN npm install # Install + Run Website CMD cd /var/www/api && \ - rm -rfv pages main.js run.sh && \ - git clone https://git.hyperling.com/me/nodejs-website website && \ - rm -rfv website/files && \ - mv -v website/* ./ && \ + echo "Ensure symlink is properly deleted if it exists..." && \ + ls -l website/files; rm -v website/files; sleep 0 && \ rm -rfv website && \ - echo "Starting Website's Run Script" && \ + git clone https://git.hyperling.com/me/nodejs-website --branch=dev website && \ + rm -rfv website/files && \ + cd website && \ + ln -sv ../files ./files && \ + find ./files -exec git update-index --assume-unchanged {} \; && \ + echo "Starting Website" && \ ./run.sh