feat(code-server): code-server dockerfile的编写

This commit is contained in:
燕陇琪 2024-11-10 11:55:43 +08:00
parent 6fa2badc71
commit 9dfc80b778

10
code-server/Dockerfile Normal file
View File

@ -0,0 +1,10 @@
FROM registry.cn-qingdao.aliyuncs.com/yuchat/ubuntu:24.04.base
WORKDIR /apps
RUN apt update
RUN apt install -y curl git
RUN curl -fsSL https://code-server.dev/install.sh | sh
EXPOSE 8080
ENTRYPOINT [ "code-server" ]