(change): Client docker deployment
This commit is contained in:
1 parent
10f1b6fa5f
commit
86a81e339c
2 files changed
+3
-2
No files matched your search
@@ -1,8 +1,9 @@
|
||||
# docker compose build
|
||||
source ../../version.env
|
||||
docker compose build
|
||||
docker image tag dbob16/tam-client:latest dbob16/tam-client:${TAM_VERSION}
|
||||
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 "PORT=3000" >> dist/prod.env
|
||||
TAM_VERSION=${TAM_VERSION} envsubst < ./run-client.sh.template > ./dist/run-client.sh
|
||||
chmod +x dist/run-client.sh
|
||||
Reference in new issue
Block a user