An unofficial extended VSCode code-server image for latest typescript with prettier.
PROJECT_DIR=<workspace absolute path>
sudo docker pull ghcr.io/frost-tb-voo/code-server-ts
sudo docker run --name=vscode --net=host -d \
-v "${PROJECT_DIR}:/home/coder/project/code-server" \
-w /home/coder/project \
ghcr.io/frost-tb-voo/code-server-ts \
code-server \
--auth noneAnd open http://localhost:8080 with your favorites browser. For detail options, see code-server.
Ctrl+Shift+I or Ctrl+K.
Please confirm File > Preferences menu of your environment.
If you want to preserve the settings and extensions, please mount following pathes with -v option of docker run command.
- Home : /home/coder
- Extension path : ~/.local/share/code-server/extensions
- Settings path : ~/.local/share/code-server/User/settings.json
- Download .vsix file from https://marketplace.visualstudio.com/.
- Put .vsix file into your project directory.
- Start the code-server container.
- Go to http://localhost:8080 and open the terminal and type
code-server --install-extension $vsix_filepath
You can find official info from the following repo:
https://github.com/coder/deploy-code-server
This requires local installed visual studio code.
Please open an issue:
https://github.com/frost-tb-voo/docker-code-server-ts/issues
And mension to @frost-tb-voo.