1 Star 0 Fork 6

上善若水/xiaoniu-cron

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Dockerfile 778 Bytes
一键复制 编辑 原始数据 按行查看 历史
aniulee 提交于 2022-01-27 16:56 +08:00 . * 新增web_hook错误通知
FROM ubuntu:16.04
MAINTAINER aniulee@qq.com
RUN mkdir /home/www
WORKDIR /home/www
COPY requirements.txt /home/www
COPY doc/supervisors.conf /etc/supervisor/conf.d/supervisord.conf
RUN apt-get update && apt-get install -y tzdata libmysqlclient-dev wget software-properties-common gcc supervisor
RUN add-apt-repository ppa:deadsnakes/ppa
RUN apt-get update
RUN apt-get install -y python3.6 python3.6-dev
RUN wget https://bootstrap.pypa.io/get-pip.py --no-check-certificate
RUN python3.6 get-pip.py
RUN pip3.6 install -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com -r requirements.txt
#RUN pip3.6 install -r requirements.txt
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo "Asia/Shanghai" > /etc/timezone
CMD ["/usr/bin/supervisord"]
EXPOSE 80
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/civins/xiaoniu-cron.git
git@gitee.com:civins/xiaoniu-cron.git
civins
xiaoniu-cron
xiaoniu-cron
master

搜索帮助