From 648d5e49455fd3da0bc8a78b53977ca735e6622b Mon Sep 17 00:00:00 2001 From: aaron <> Date: Tue, 29 Apr 2025 00:27:30 +0800 Subject: [PATCH] update --- Dockerfile | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index f963696..aeb2d02 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ RUN apt-get update && apt-get install -y \ COPY . /app/ # 安装Python依赖 -RUN pip install -i https://mirrors.aliyun.com/pypi/simple/ --no-cache-dir -r requirements.txt +RUN pip install -r requirements.txt # 设置环境变量 ENV PYTHONUNBUFFERED=1 @@ -22,11 +22,6 @@ ENV PYTHONPATH=/app # 创建配置文件目录 RUN mkdir -p /app/config -# 如果需要从示例配置创建配置文件 -RUN if [ -f "/app/cryptoai/config/config.example.yaml" ] && [ ! -f "/app/cryptoai/config/config.yaml" ]; then \ - cp /app/cryptoai/config/config.example.yaml /app/cryptoai/config/config.yaml; \ - fi - # 创建数据目录 RUN mkdir -p /app/cryptoai/data /app/logs