trading-quant/Dockerfile
2023-06-08 16:06:20 +08:00

7 lines
214 B
Docker

FROM python:3.8-slim
ENV PYTHONIOENCODING=utf-8
ENV TIME_ZONE Asia/Shanghai
RUN pip3 install -i https://mirrors.aliyun.com/pypi/simple/ -r requirements.txt
WORKDIR /opt/
COPY ["./", "/opt/"]
CMD python3 -u main.py