diff --git a/deployments/client/docker/build-client.sh b/deployments/client/docker/build-client.sh index e4baa45..139eac7 100755 --- a/deployments/client/docker/build-client.sh +++ b/deployments/client/docker/build-client.sh @@ -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 diff --git a/deployments/client/portable/linux/run-server.sh b/deployments/client/portable/linux/run-server.sh new file mode 100644 index 0000000..c6f7a24 --- /dev/null +++ b/deployments/client/portable/linux/run-server.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