Browse Source
Move pull-image outside of the nginx block
feature/more-args
nicolas.dorier
6 years ago
No known key found for this signature in database
GPG Key ID: 6618763EF09186FE
1 changed files with
2 additions and
1 deletions
-
build.sh
|
|
@ -29,9 +29,10 @@ docker run -v "$(pwd)/Generated:/app/Generated" \ |
|
|
|
|
|
|
|
if [ "$BTCPAYGEN_REVERSEPROXY" == "nginx" ]; then |
|
|
|
cp Production/nginx.tmpl Generated/nginx.tmpl |
|
|
|
chmod +x Generated/pull-images.sh |
|
|
|
fi |
|
|
|
|
|
|
|
[[ -f "Generated/pull-images.sh" ]] && chmod +x Generated/pull-images.sh |
|
|
|
|
|
|
|
if [ "$BTCPAYGEN_REVERSEPROXY" == "traefik" ]; then |
|
|
|
cp Traefik/traefik.toml Generated/traefik.toml |
|
|
|
:> Generated/acme.json |
|
|
|