#!/bin/sh echo "window.env = { VITE_API_BASEURL: '${VITE_API_BASEURL}', VITE_FILE_API_BASEURL: '${VITE_FILE_API_BASEURL}', VITE_APP_TITLE: '${VITE_APP_TITLE}' };" > /usr/share/nginx/html/env.js sed -i "s|.*|${VITE_APP_TITLE}|g" /usr/share/nginx/html/index.html sed -i "s|