chore: Update environment configuration and Dockerfile for improved setup
- Change default PORT in .env.example to 7123 and update CORS origins - Disable speech features in .env.example for a cleaner setup - Modify Dockerfile to streamline Python dependency installation and improve build performance - Add fix-env.js script to ensure NODE_ENV is set correctly before application starts - Update smithery.yaml to include new Home Assistant connection parameters - Introduce start.sh script to set NODE_ENV and start the application
This commit is contained in:
9
fix-env.js
Normal file
9
fix-env.js
Normal file
@@ -0,0 +1,9 @@
|
||||
// This script fixes the NODE_ENV environment variable before any imports
|
||||
console.log('Setting NODE_ENV to "development" before imports');
|
||||
process.env.NODE_ENV = "development";
|
||||
|
||||
// Add more debugging
|
||||
console.log(`NODE_ENV is now set to: "${process.env.NODE_ENV}"`);
|
||||
|
||||
// Import the main application
|
||||
import './dist/index.js';
|
||||
Reference in New Issue
Block a user