Uh oh!
There was an error while loading. Please reload this page.
Need help getting npm to persist in docker code-server #4276
Using the code-server terminal, one can install nodejs and npm, within the docker container. Thank you! |
Replies: 1 comment 1 reply
Fantastic question! So when you're running code-server inside a Docker container and install dependencies or packages, they won't persist (as you've explained). Instead, you'll need to install them in the Here is another example which starts from the code-server image. Let me know if that helps! |
Fantastic question! So when you're running code-server inside a Docker container and install dependencies or packages, they won't persist (as you've explained). Instead, you'll need to install them in the
Dockerfile. Here's an example for installing Node.Here is another example which starts from the code-server image.
Let me know if that helps!