1 Star 0 Fork 1

一心 / lottery

forked from cst_4049 / lottery 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Dockerfile 389 Bytes
一键复制 编辑 原始数据 按行查看 历史
cst_4049 提交于 2021-02-28 14:18 . 奖项数据自动爬取预测
FROM python:3.9.0
ARG ImgHost=pypi.tuna.tsinghua.edu.cn
RUN mkdir -p /opt/deployments
COPY ./requirements.txt /opt/deployments
RUN pip install --trusted-host=${ImgHost} --no-cache -r /opt/deployments/requirements.txt \
-i https://${ImgHost}/simple
COPY ./code /opt/deployments
WORKDIR /opt/deployments
CMD ["uvicorn", "main:app", "--host=0.0.0.0", "--port=8000", "--workers=1"]
Python
1
https://gitee.com/caiyuanlin_13/lottery.git
git@gitee.com:caiyuanlin_13/lottery.git
caiyuanlin_13
lottery
lottery
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891