1 Star 0 Fork 182

黎明是最寂静的美/mootdx

forked from bopo/mootdx 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 1.38 KB
一键复制 编辑 原始数据 按行查看 历史
bopo 提交于 2022-12-12 23:16 . test(test): 跳过财务测试脚本
FROM python:3.8
ENV PYTHONUNBUFFERED 1
#RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
# RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories
# RUN apk add py3-pandas
#RUN apk add --no-cache --virtual .build-deps openssl-dev make autoconf automake gcc g++ postgresql-dev zlib-dev
#RUN apk add --no-cache supervisor py3-lxml libevent py3-pillow python3-dev py3-gevent py3-psycopg2 py3-crypto libpng-dev jpeg-dev
#RUN apk add --no-cache py3-pip py3-psutil py3-gunicorn py3-redis
COPY ./requirements.txt /requirements.txt
COPY ./tests/requirements.txt /requirements.dev
# COPY ./entrypoint.sh /entrypoint.sh
# RUN /usr/local/bin/pip install -U pip setuptools_scm meinheld uvicorn -i https://mirrors.aliyun.com/pypi/simple/
RUN pip install -r requirements.txt -r requirements.dev -i https://pypi.tuna.tsinghua.edu.cn/simple
RUN pip install tdxpy
# RUN sed -i 's/\r//' /entrypoint.sh
# RUN chmod +x /entrypoint.sh
# RUN apk del .build-deps
RUN mkdir /app
WORKDIR /app
VOLUME /app
#Add target/release.tgz /app/
#COPY ../environ/env.docker /app/.env
# COPY ./requirements.in /tmp/requirements.in
# RUN /usr/bin/pip install -r /tmp/requirements.in -i https://mirrors.aliyun.com/pypi/simple/ && rm /tmp/requirements.in
# RUN /usr/bin/pip install nanoid -i https://mirrors.aliyun.com/pypi/simple/
WORKDIR /app
#ENTRYPOINT ["/entrypoint.sh"]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/wei1314/mootdx.git
git@gitee.com:wei1314/mootdx.git
wei1314
mootdx
mootdx
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385