Move code-server installation before ENTRYPOINT
- Relocate code-server installation to proper position - Ensure it's installed before container entrypoint 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -62,9 +62,7 @@ ENV PATH="/usr/local/bin:${PATH}"
|
|||||||
RUN apt-get install -y fcitx5 --fix-missing
|
RUN apt-get install -y fcitx5 --fix-missing
|
||||||
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
|
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
## code server
|
|
||||||
RUN curl -fsSL https://code-server.dev/install.sh | sh
|
|
||||||
RUN which code-server && code-server --version
|
|
||||||
|
|
||||||
## PlayWright Chrome
|
## PlayWright Chrome
|
||||||
RUN npx playwright install chrome
|
RUN npx playwright install chrome
|
||||||
@@ -96,5 +94,11 @@ RUN echo "TZ=Asia/Seoul" >> /etc/environment && \
|
|||||||
echo "QT5_IM_MODULE=fcitx" >> /etc/environment && \
|
echo "QT5_IM_MODULE=fcitx" >> /etc/environment && \
|
||||||
echo "XMODIFIERS=@im=fcitx" >> /etc/environment
|
echo "XMODIFIERS=@im=fcitx" >> /etc/environment
|
||||||
|
|
||||||
|
|
||||||
|
## code server
|
||||||
|
RUN curl -fsSL https://code-server.dev/install.sh | sh
|
||||||
|
RUN which code-server && code-server --version
|
||||||
|
|
||||||
EXPOSE 3389
|
EXPOSE 3389
|
||||||
ENTRYPOINT /entrypoint.sh
|
ENTRYPOINT /entrypoint.sh
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user