(add): start of portable option

This commit is contained in:
dbob16 committed 2026-08-05 16:52:45 -04:00
1 parent 4869c119d0
commit 6c17f85e4c
2 files changed
+7 -2

No files matched your search

+1 -2
View File
@@ -2,8 +2,7 @@
source ../../version.env
docker compose build
docker image tag dbob16/tam-client:latest dbob16/tam-client:${TAM_VERSION}
mkdir -p dist/images
echo "HOST=127.0.0.1" >> dist/prod.env
echo "HOST=127.0.0.1" > dist/prod.env
echo "PORT=3000" >> dist/prod.env
TAM_VERSION=${TAM_VERSION} envsubst < ./run-client.sh.template > ./dist/run-client.sh
chmod +x dist/run-client.sh
@@ -0,0 +1,6 @@
#!/bin/sh
if [ ! -d "./data" ]; then
mkdir ./data
fi
HOST=127.0.0.1 PORT=3000 ./exe/bin/node ./build