Critical fix:
- Dockerfile: Do not delete node_modules folders (socket.io needed at runtime)
- Only remove .git folders and Python cache
- Preserve all npm packages for WebSocket functionality
New documentation:
- dokploy/TROUBLESHOOTING.md: Common issues and solutions
* WebSocket host not found
* socket.io module not found
* Frontend restart loop
* Site not found errors
This fixes:
- Frontend restart loop
- WebSocket container crashes
- socket.io MODULE_NOT_FOUND errors
WebSocket requires socket.io, redis, socket.io-redis packages at runtime.
These must NOT be deleted in Dockerfile cleanup.