Files
WatsappIntegrations/manager/docker-entrypoint.sh
2026-01-17 22:24:56 -06:00

13 lines
209 B
Bash
Executable File

#!/bin/sh
# Generate config.js
cat <<EOF > /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 "$@"