2 Star 4 Fork 1

cmlfxz / flask-admin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 674 Bytes
一键复制 编辑 原始数据 按行查看 历史
cmlfxz 提交于 2023-10-18 22:40 . add mergecd
# from myhub.mydocker.com/base/alpine-python:3.5.9
from myhub.mydocker.com/base/python:3.6
copy requirements.txt ./
# RUN pip install --no-cache-dir -r requirements.txt
RUN pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
COPY manage.py /opt/microservices/
COPY api /opt/microservices/api
COPY config /opt/microservices/config
# COPY config.py /opt/microservices/instance/config.py
EXPOSE 8081
WORKDIR /opt/microservices
ENTRYPOINT [ "python","manage.py","runserver","-h","0.0.0.0","-p","8081" ]
# CMD [ "python","manage.py","runserver","-h","0.0.0.0","-p","8081" ]
# ADD cmd.sh /root/
# RUN chmod +x /root/cmd.sh
# CMD ["/root/cmd.sh","arg1"]
Python
1
https://gitee.com/cmlfxz/flask-admin.git
git@gitee.com:cmlfxz/flask-admin.git
cmlfxz
flask-admin
flask-admin
master

搜索帮助