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:
2025-09-08 19:56:35 +09:00
parent 2859a1a2d6
commit 3ca59a969a
2 changed files with 10 additions and 4 deletions

View File

@@ -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"