From 71950a163fc234d7f1803c12d51d9ba1827b75c2 Mon Sep 17 00:00:00 2001 From: Ayush Sehrawat <69469790+AyushSehrawat@users.noreply.github.com> Date: Wed, 17 Jul 2024 08:09:58 +0000 Subject: [PATCH] fix: docker entrypoint --- docker-entrypoint.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 02b9214..f1014f1 100644 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -1,4 +1,5 @@ #!/bin/sh -export ORIGIN=$ORIGIN -export BACKEND_URL=$BACKEND_URL -exec node /riven/build \ No newline at end of file +: ${ORIGIN:="http://localhost:3000"} +: ${BACKEND_URL:="http://127.0.0.1"} + +exec ORIGIN=$ORIGIN BACKEND_URL=$BACKEND_URL node /riven/build \ No newline at end of file