18 Star 46 Fork 14

weihaoxuan / xbman-Integrated

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Dockerfile 780 Bytes
一键复制 编辑 原始数据 按行查看 历史
weihaoxuan 提交于 2017-03-16 13:41 . 增加Dockerfile
#Version 0.1
FROM centos
MAINTAINER weihxa
#ADD CentOS7-Base-163.repo /etc/yum.repos.d/CentOS-Base.repo
#RUN yum clean all && yum makecache
RUN yum -y install epel-release && yum install -y python-pip && yum install -y gcc libffi-devel python-devel openssl-devel
#WORKDIR /
#RUN yum install -y git
#RUN git clone https://git.oschina.net/weihaoxuan/xbman-Integrated.git
#ADD pip.conf ~/.pip/pip.conf
RUN pip install Django==1.8.3
RUN pip install python-jenkins==0.4.13
RUN pip install ansible==1.9.6
RUN pip install celery==3.1.17
RUN pip install django-celery==3.1.17
RUN pip install gunicorn
VOLUME /xbman-Integrated /xbman-Integrated
CMD cd /xbman-Integrated && gunicorn -w 2 xbman-Integrated.wsgi:application -b 0.0.0.0:8080 --reload --log-level=INFO --timeout=100
EXPOSE 8080
Python
1
https://gitee.com/weihaoxuan/xbman-Integrated.git
git@gitee.com:weihaoxuan/xbman-Integrated.git
weihaoxuan
xbman-Integrated
xbman-Integrated
master

搜索帮助