Another try with entrypoint rewrites
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env sh
|
||||
set -eu
|
||||
|
||||
# generate configs - is this necessary?
|
||||
# Removing confd if possible
|
||||
#/usr/local/bin/confd -backend="env" -confdir="/etc/confd" -onetime
|
||||
envsubst '${BACKEND_HOSTNAME}' < /etc/nginx/nginx.conf.tmpl > /etc/nginx/nginx.conf
|
||||
|
||||
# run main command
|
||||
exec "$@"
|
||||
|
||||
Reference in New Issue
Block a user