Skip to content

Commit

Permalink
fix: Container startup failing for some
Browse files Browse the repository at this point in the history
  • Loading branch information
benscobie committed Dec 17, 2024
1 parent a2d1c17 commit 3a18d2e
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 3a18d2e

Please sign in to comment.