docker-entrypoint.sh 204 B

12345678
  1. #!/bin/sh
  2. set -e
  3. export BACKEND_URL="${BACKEND_URL:-http://backend:80}"
  4. envsubst '${BACKEND_URL}' < /etc/nginx/conf.d/default.conf.template > /etc/nginx/conf.d/default.conf
  5. exec nginx -g 'daemon off;'