We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
frontend-containers/angular-project/start-nginx.sh
Line 5 in a2e0092
File content can be truncated to the first 65535 characters when replacing placeholders.
You should use a tmp file to read from.
#!/usr/bin/env sh export EXISTING_VARS=$(printenv | awk -F= '{print $1}' | sed 's/^/\$/g' | paste -sd,); for file in $JSFOLDER; do if [ ! -f $file.tmp ] then cp $file $file.tmp fi cat $file.tmp | envsubst $EXISTING_VARS | tee $file done nginx -g 'daemon off;'
The text was updated successfully, but these errors were encountered:
Thank you @dcdh . you are a life saver.
Sorry, something went wrong.
Fix truncated placeholder replace
6e24f39
From @dcdh nodeshift-blog-examples#3
No branches or pull requests
frontend-containers/angular-project/start-nginx.sh
Line 5 in a2e0092
File content can be truncated to the first 65535 characters when replacing placeholders.
You should use a tmp file to read from.
The text was updated successfully, but these errors were encountered: