(add): start of portable option
This commit is contained in:
1 parent
4869c119d0
commit
6c17f85e4c
2 files changed
+7
-2
No files matched your search
@@ -2,8 +2,7 @@
|
|||||||
source ../../version.env
|
source ../../version.env
|
||||||
docker compose build
|
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
|
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
|
TAM_VERSION=${TAM_VERSION} envsubst < ./run-client.sh.template > ./dist/run-client.sh
|
||||||
chmod +x 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
|
||||||
Reference in new issue
Block a user