#!/bin/sh set -e export CONFIG_OUT="${CONFIG_OUT:-/usr/share/nginx/html/config.js}" echo "Generating runtime config at ${CONFIG_OUT}..." node /docker/generate-config.js exec nginx -g 'daemon off;'