Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* updated config to new flux method * no build args other than version * refactor and fix html template
- Loading branch information
Francois Laubscher
committed
Aug 2, 2019
1 parent
3119b28
commit 8b4728b
Showing
18 changed files
with
1,783 additions
and
1,537 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
envsubst '${API_URL}${PUBLIC_URL}' < /etc/nginx/nginx.conf.template > /etc/nginx/nginx.conf | ||
|
||
# Replace env vars in html template -- if any | ||
cp /usr/share/nginx/html/index.html /usr/share/nginx/html/index.template.html | ||
envsubst < /usr/share/nginx/html/index.html > /usr/share/nginx/html/index.html | ||
#! /bin/sh | ||
envsubst '${API_URL}${WP_URL}${PUBLIC_URL}' < /etc/nginx/nginx.conf.template > /etc/nginx/nginx.conf | ||
envsubfolder /usr/share/nginx/html | ||
|
||
exec nginx -g 'daemon off;' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.