Add code-server integration with custom configuration
- Remove systemctl commands from Dockerfile (incompatible with containers) - Add code-server auto-start in entrypoint.sh on port 30145 - Set /mnt as default working directory for code-server - Configure proper permissions for /mnt directory 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -63,11 +63,10 @@ RUN apt-get install -y fcitx5 --fix-missing
|
||||
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
## code server
|
||||
curl -fsSL https://code-server.dev/install.sh | sh
|
||||
sudo systemctl enable --now code-server@$USER
|
||||
RUN curl -fsSL https://code-server.dev/install.sh | sh
|
||||
|
||||
## PlayWright Chrome
|
||||
npx playwright install chrome
|
||||
RUN npx playwright install chrome
|
||||
|
||||
# git information
|
||||
RUN git config --global user.email "user@mail.com"
|
||||
|
||||
Reference in New Issue
Block a user