diff --git a/react-frontend/docker-entrypoint.sh b/react-frontend/docker-entrypoint.sh index 8c286d0..e844a3e 100644 --- a/react-frontend/docker-entrypoint.sh +++ b/react-frontend/docker-entrypoint.sh @@ -1,3 +1,5 @@ +#!/bin/env bash + for file in /usr/share/nginx/html/*; do if [ -f "$file" ]; then envsubst < "$file" > "$file.tmp" && mv "$file.tmp" "$file"