(change): Client docker deployment

This commit is contained in:
2026-07-25 22:53:08 -04:00
parent 10f1b6fa5f
commit 86a81e339c
2 changed files with 3 additions and 2 deletions
+3 -2
View File
@@ -1,8 +1,9 @@
# docker compose build # docker compose build
source ../../version.env source ../../version.env
docker compose build
docker image tag dbob16/tam-client:latest dbob16/tam-client:${TAM_VERSION} docker image tag dbob16/tam-client:latest dbob16/tam-client:${TAM_VERSION}
mkdir -p dist/images mkdir -p dist/images
docker image save dbob16/tam-client:${TAM_VERSION} | gzip > dist/images/tam-client-${TAM_VERSION}.tar.gz
echo "TAM_VERSION=${TAM_VERSION}" > dist/prod.env
echo "HOST=127.0.0.1" >> dist/prod.env echo "HOST=127.0.0.1" >> dist/prod.env
echo "PORT=3000" >> 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