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