# Edge nginx image: bake the TLS template so that template changes produce a
# new image and `docker compose up -d --build` recreates the container.
# (With a bind-mounted template, envsubst renders only at container start and
# compose never recreates on file-content changes — forcing --force-recreate.)
#
# Baking exactly ONE template: rendering both would duplicate `upstream api`.
# The VPS override (deploy/vps/) shadows this file by bind-mounting
# contract-check-http.conf.template at the same target path.
FROM nginx:alpine
COPY templates/contract-check.conf.template /etc/nginx/templates/contract-check.conf.template
