43 Star 233 Fork 58

xupingmao / xnote

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 520 Bytes
一键复制 编辑 原始数据 按行查看 历史
xupingmao 提交于 2023-08-11 22:39 . 随手记备注
FROM python:3.7.2
COPY config/requirements.txt ./
RUN pip config set global.cache-dir "/data/pip-cache"
RUN pip install --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple
# install required packages
RUN pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
# set timezone
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone
COPY . /home
WORKDIR /home
CMD ["python", "sentinel.py", "app.py", "--config", "config/boot/boot.sae.properties"]
Python
1
https://gitee.com/xupingmao/xnote.git
git@gitee.com:xupingmao/xnote.git
xupingmao
xnote
xnote
master

搜索帮助