diff --git a/docker/Dockerfile b/docker/Dockerfile index 9ae5bf05..ee9bbc83 100755 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -49,11 +49,11 @@ RUN pip install --no-cache-dir --upgrade pip setuptools wheel # 分层安装依赖:利用Docker缓存实现差分下载 # 第一层:基础依赖 - 大文件、不常变,会被长期缓存 -COPY requirements/requirements-base.txt . +COPY docker/requirements/requirements-base.txt . RUN pip install --no-cache-dir -r requirements-base.txt # 第二层:额外依赖 - 小文件、可能频繁变更,只重新下载这一层 -COPY requirements/requirements-extra.txt . +COPY docker/requirements/requirements-extra.txt . RUN pip install --no-cache-dir -r requirements-extra.txt RUN curl -fsSL https://code-server.dev/install.sh | sh @@ -68,7 +68,7 @@ RUN mkdir -p /home/vnpy/.config/code-server && echo 'bind-addr: 0.0.0.0:8080 EXPOSE 8888 8000 8080 2222 -COPY --chown=vnpy:vnpy entrypoint.sh /app/ +COPY --chown=vnpy:vnpy docker/entrypoint.sh /app/ RUN chmod +x /app/entrypoint.sh COPY --chown=vnpy:vnpy scripts /app/scripts diff --git a/logs/auto-sync.log b/logs/auto-sync.log index b28b04f6..fd40910d 100644 --- a/logs/auto-sync.log +++ b/logs/auto-sync.log @@ -1,3 +1,4 @@ +