transformer-autocomplete / entrypoint.sh
XciD's picture
XciD HF staff
initial commit
8969f81
raw
history blame
239 Bytes
#!/bin/sh
defined_envs=$(printf '${%s} ' $(awk "END { for (name in ENVIRON) { print ( name ~ /NGINX_/ ) ? name : \"\" } }" < /dev/null ))
envsubst "$defined_envs" < nginx.conf > /etc/nginx/nginx.conf
nginx && node server/dist/server.js