Skip to content

Commit

Permalink
fix chmod
Browse files Browse the repository at this point in the history
  • Loading branch information
gottfired committed May 4, 2023
1 parent 4e0ab7c commit ffe5b31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions template/scripts/test-docker-entrypoint.sh
Expand Up @@ -24,8 +24,8 @@ REACT_APP_DEPLOYMENT_ENV=$ENV

# Run script with source so REACT_XYZ ate visible
# "test" param is used to skip exec "$@" at the end of the script
chmod +x docker-entrypoint.sh
source docker-entrypoint.sh "test"
chmod +x ./docker-entrypoint.sh
source ./docker-entrypoint.sh "test"

# Verify nginx config was patched correctly
if ! grep -q "location $BASE {" "$NGINX_CONF" || ! grep -q "location $BASE/static {" "$NGINX_CONF"; then
Expand Down

0 comments on commit ffe5b31

Please sign in to comment.