Skip to content

Save settings #3060

Answered by ghost
ToasterSticks asked this question in Q&A
Apr 7, 2021 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

I am using code-server on railway too. Your vscode data can be found under /home/coder/.local/share/code-server/User/. You can copy the settings and import them after updating. As for extensions, you can add commands to your Dockerfile to install them automatically. Heres what mine looks like:

FROM codercom/code-server:3.9.2

USER coder

COPY deploy-container/config.yaml .config/code-server/config.yaml
COPY deploy-container/settings.json .local/share/code-server/User/settings.json
COPY deploy-container/tasks.json .local/share/code-server/User/tasks.json
COPY deploy-container/keybindings.json .local/share/code-server/User/keybindings.json

ENV SHELL=/bin/bash

RUN sudo apt-get update && su…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ToasterSticks
Comment options

@ghost
Comment options

Answer selected by ToasterSticks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant