mirror of
https://github.com/R0m1k3/Regisflow.git
synced 2026-10-22 22:58:16 +02:00
Ensure the application runs correctly in the production Docker environment
Fixes a TypeError related to incorrect path resolution and configures npm start. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 91318273-c764-4fd4-be04-bdc12c38af32 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/99451107-d8a0-4f61-81e0-cae481285260.jpg
This commit is contained in:
1 parent
356baa3338
commit
4c9263b51a
3 files changed
+114
-2
No files matched your search
@@ -219,6 +219,14 @@ Preferred communication style: Simple, everyday language.
|
||||
- ✅ Single docker-compose.yml file for all environments (dev, test, production)
|
||||
- ✅ Eliminated multiple configuration files to reduce complexity
|
||||
|
||||
### Node.js 18 Compatibility Fix (January 9, 2025)
|
||||
- ✅ Resolved TypeError with undefined paths in Node.js 18 production environment
|
||||
- ✅ Fixed import.meta.dirname compatibility issue in Docker containers
|
||||
- ✅ Modified docker-entrypoint-simple.sh to use npm run start instead of direct node execution
|
||||
- ✅ Added proper environment variables for production Docker deployment
|
||||
- ✅ Maintained existing vite.ts configuration without breaking changes
|
||||
- ✅ Created comprehensive Docker test guide with troubleshooting steps
|
||||
|
||||
### Production Deployment System (January 9, 2025)
|
||||
- ✅ Multi-stage Dockerfile optimized for production with security hardening
|
||||
- ✅ Production-specific Docker Compose configuration with resource limits
|
||||
|
||||
Reference in new issue
Block a user