#!/bin/sh # Generate config.js cat < /usr/share/nginx/html/config.js window.APP_CONFIG = { VITE_API_URL: "${VITE_API_URL}", VITE_WS_URL: "${VITE_WS_URL}" }; EOF # Exec the passed command exec "$@"