Skip to content

Commit

Permalink
Merge pull request #1442 from jorenn92/fix-file-replace
Browse files Browse the repository at this point in the history
fix: Container startup failing for some
  • Loading branch information
benscobie authored Dec 17, 2024
2 parents a2d1c17 + 3a18d2e commit 23ad532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

BASE_PATH_REPLACE="${BASE_PATH:-}"

find /opt/app/ui -type f -exec sed -i "s,/__PATH_PREFIX__,$BASE_PATH_REPLACE,g" '{}' \;
find /opt/app/ui -type f -not -path '*/node_modules/*' -print0 | xargs -0 sed -i "s,/__PATH_PREFIX__,$BASE_PATH_REPLACE,g"

/usr/bin/supervisord -c /etc/supervisord.conf

0 comments on commit 23ad532

Please sign in to comment.