Skip to content

Commit

Permalink
fix: docker entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
AyushSehrawat committed Jul 17, 2024
1 parent 2a21098 commit 71950a1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/sh
export ORIGIN=$ORIGIN
export BACKEND_URL=$BACKEND_URL
exec node /riven/build
: ${ORIGIN:="http://localhost:3000"}
: ${BACKEND_URL:="http://127.0.0.1"}

exec ORIGIN=$ORIGIN BACKEND_URL=$BACKEND_URL node /riven/build

0 comments on commit 71950a1

Please sign in to comment.