From b01aabba84c98be72e3b9dff07547931f8be0c8c Mon Sep 17 00:00:00 2001 From: chiDT Date: Mon, 8 Sep 2025 20:36:27 +0900 Subject: [PATCH] Fix code-server installation with explicit path and verification MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Use standalone method with /usr/local prefix for clear installation path - Add verification step to ensure code-server is properly installed - Build will now fail if code-server installation fails 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ee876ea..76728ea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -63,7 +63,8 @@ RUN apt-get install -y fcitx5 --fix-missing RUN apt-get clean && rm -rf /var/lib/apt/lists/* ## code server -RUN curl -fsSL https://code-server.dev/install.sh | sh +RUN curl -fsSL https://code-server.dev/install.sh | sh -s -- --method standalone --prefix=/usr/local +RUN which code-server && code-server --version ## PlayWright Chrome RUN npx playwright install chrome