This commit is contained in:
aazhou 2023-06-08 16:36:37 +08:00
parent 8e7be88762
commit 4ed4e5c6c0

View File

@ -1,7 +1,8 @@
FROM python:3.8-slim FROM python:3.8-slim
ENV PYTHONIOENCODING=utf-8 ENV PYTHONIOENCODING=utf-8
ENV TIME_ZONE Asia/Shanghai ENV TIME_ZONE Asia/Shanghai
RUN pip3 install --upgrade pip3 setuptools wheel RUN python -m pip install --upgrade pip
RUN pip3 install --upgrade setuptools wheel
RUN pip3 install -i https://mirrors.aliyun.com/pypi/simple/ binance binance_connector numpy requests schedule TA_Lib RUN pip3 install -i https://mirrors.aliyun.com/pypi/simple/ binance binance_connector numpy requests schedule TA_Lib
WORKDIR /opt/ WORKDIR /opt/
COPY ["./", "/opt/"] COPY ["./", "/opt/"]