VT / Dockerfile
yadinae's picture
Update Dockerfile
0616062 verified
raw
history blame contribute delete
540 Bytes
FROM node:22-slim
USER root
# 1. 安装基础工具
RUN apt-get update && apt-get install -y python3 python3-pip python3-full curl git sudo \
&& rm -rf /var/lib/apt/lists/*
# 2. 安装 code-server|
RUN curl -fsSL https://code-server.dev/install.sh | sh
# 3. 安装 opencode
RUN curl -fsSL https://opencode.ai/install | bash
# 4.安装UV
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
# 5. 脚本进场
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENV PORT=7860
EXPOSE 7860
CMD ["/bin/bash", "/entrypoint.sh"]