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/"]