auto-sync: 2026-04-12 10:18:12
This commit is contained in:
+2
-5
@@ -56,11 +56,8 @@ 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 安装:由于网络环境问题,这里跳过安装
|
||||
# 用户可以在容器启动后手动安装
|
||||
# 手动安装命令: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"
|
||||
# code-server 安装:预装,自动启动
|
||||
RUN curl -fsSL https://code-server.dev/install.sh | sh
|
||||
|
||||
RUN useradd -m -u 1000 vnpy && echo "vnpy ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers && mkdir -p /home/vnpy/.ssh && mkdir -p /etc/ssh && chown -R vnpy:vnpy /home/vnpy /app && chmod 700 /home/vnpy/.ssh
|
||||
|
||||
|
||||
@@ -158,5 +158,6 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user