Skip to content

Instantly share code, notes, and snippets.

Last active Jul 28, 2022
What would you like to do?
Exemple de configuration Docker simple pour visual code server
FROM ubuntu:focal
ENV DEBIAN_FRONTEND noninteractive
RUN groupadd -g 1000 vscode ; useradd -u 1000 -g 1000 -m -s /bin/bash -d /home/work vscode ; \
apt-get update ; apt-get dist-upgrade -y ; \
curl -fsSL | sh
VOLUME [ "/home/work/.config/code-server", "/home/work/.local/share/code-server", "/home/work/documents" ]
USER vscode
ENTRYPOINT [ "/usr/bin/code-server" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment