Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Robust Node.js and npm Installation:
Installed Node.js 20 via NodeSource to ensure compatibility with code-server. Cleaned the npm cache and removed previous code-server installations to avoid conflicts. Permission Fixes: Used the --unsafe-perm flag during npm installation to resolve permission-related issues. Improved Cleanup: Removed unnecessary cached files to reduce the Docker image size. Fallback-Ready and Optimized: Prepared the Dockerfile to cleanly handle code-server npm installation issues.
- Loading branch information