trading-quant/Dockerfile
2023-06-08 23:12:13 +08:00

8 lines
333 B
Docker

FROM python:3.8-slim
ENV PYTHONIOENCODING=utf-8
ENV TIME_ZONE Asia/Shanghai
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/"]
CMD python3 -u main.py