auto-sync: 2026-04-11 21:58:59

This commit is contained in:
cfdaily
2026-04-11 21:58:59 +08:00
parent 9bda15d400
commit 263d57cc20
2 changed files with 7 additions and 5 deletions
+5 -5
View File
@@ -56,11 +56,11 @@ RUN pip install --no-cache-dir -r requirements-base.txt
COPY docker/requirements/requirements-extra.txt .
RUN pip install --no-cache-dir -r requirements-extra.txt
# 直接下载 code-server 二进制版本,更稳定
RUN curl -fSL https://github.com/coder/code-server/releases/download/v4.96.1/code-server-4.96.1-linux-arm64.tar.gz | tar xz -C /tmp && \
mv /tmp/code-server-4.96.1-linux-arm64/bin/code-server /usr/local/bin/ && \
mv /tmp/code-server-4.96.1-linux-arm64/lib/code-server /usr/local/lib/ && \
rm -rf /tmp/code-server-*
# code-server 安装:由于网络环境问题,这里跳过安装
# 用户可以在容器启动后手动安装
# 手动安装命令:curl -fsSL https://code-server.dev/install.sh | sh
# RUN curl -fsSL https://code-server.dev/install.sh | sh
RUN echo "code-server skipped - install manually after container startup if needed"
RUN useradd -m -u 1000 vnpy && echo "vnpy ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers && mkdir -p /home/vnpy/.ssh && chown -R vnpy:vnpy /home/vnpy /app && chmod 700 /home/vnpy/.ssh
+2
View File
@@ -6,3 +6,5 @@