Add env variable for which branch to use. Move CPU and RAM requirements to env so that only 1 docker-compose.yml example is needed.

This commit is contained in:
2025-10-14 14:21:59 -07:00
parent 95060838e2
commit 418983c490
4 changed files with 22 additions and 24 deletions

View File

@@ -20,7 +20,7 @@ CMD cd /var/www/api && \
ls -l website/files; rm -v website/files; sleep 0 && \
echo "Dockerfile: Clone the website's Git repo..." && \
rm -rfv website && \
git clone https://git.hyperling.com/me/nodejs-website 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 && \