This commit is contained in:
aazhou 2023-06-08 23:12:13 +08:00
parent 41cc0add8b
commit fc6dc125b3

View File

@ -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_Lib0.4.10cp35cp35mwin_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/"]