From fc6dc125b33e877eb6d61dcff43e152a4b64163b Mon Sep 17 00:00:00 2001 From: aazhou Date: Thu, 8 Jun 2023 23:12:13 +0800 Subject: [PATCH] 2 --- Dockerfile | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3ba21ba..e97be83 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,15 +1,7 @@ FROM python:3.8-slim ENV PYTHONIOENCODING=utf-8 ENV TIME_ZONE Asia/Shanghai -RUN apt-get update && \ - apt-get -y install gcc mono-mcs && \ - rm -rf /var/lib/apt/lists/* -RUN python -m pip install --upgrade pip -RUN pip3 install --upgrade setuptools wheel -RUN pip3 install pep517 -RUN pip3 install --upgrade pip -RUN pip3 install pyproject-toml -RUN pip3 install TA_Lib‑0.4.10‑cp35‑cp35m‑win_amd64.whl +RUN sudo apt-get install python3-pip python3-setuptools python3-dev python3-wheel RUN pip3 install -i https://mirrors.aliyun.com/pypi/simple/ binance binance_connector numpy requests schedule TA_Lib WORKDIR /opt/ COPY ["./", "/opt/"]