#!/usr/bin/env bash set -e cat << EOF --- default_process_types: web: echo 's//$PORT/g' && sed -i 's//$PORT/g' /app/nginx.conf && /app/nginx/nginx -c /app/nginx.conf EOF