Another try with entrypoint rewrites

This commit is contained in:
Frikky
2024-07-26 18:25:43 +02:00
parent 94a2f4ce87
commit 4e7d03debb
3 changed files with 10 additions and 12 deletions
+3 -5
View File
@@ -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 "$@"