1 Star 0 Fork 63

liuke2/hetao

forked from calvinwilliams/hetao 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile.old 1011 Bytes
一键复制 编辑 原始数据 按行查看 历史
calvinwilliams 提交于 2020-03-22 21:55 . write <>
# NOTICE :
# docker pull centos
# AFTER make -f makefile.Linux && sudo make -f makefile.Linux install , NOT make -f makefile.Linux clean
# build like this : docker build -f Dockerfile -t hetao .
FROM centos
MAINTAINER calvinwilliams@163.com
RUN yum install net-tools -y
RUN yum install telnet -y
RUN yum install lynx -y
COPY src/hetao /usr/local/bin/hetao
COPY src/hetaocheck /usr/local/bin/hetaocheck
COPY src/minihetao /usr/local/bin/minihetao
RUN mkdir -p /etc/hetao
RUN mkdir -p /var/hetao/www
RUN mkdir -p /var/hetao/log
WORKDIR /tmp
RUN echo "then run the following command to start docker container"
RUN echo "docker run -d -v /etc/hetao:/etc/hetao -v /var/hetao/www:/var/hetao/www -v /var/hetao/log:/var/hetao/log -p 80:80 --net=host hetao /usr/local/bin/hetao /etc/hetao/hetao.conf --no-daemon"
# DISCARD :
# docker run -it -v /media:/media -v /etc/hetao:/etc/hetao -v /var/hetao/www:/var/hetao/www -v /var/hetao/log:/var/hetao/log -p 80:80 --net=host --privileged=true hetao /bin/bash
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/liuke2/hetao.git
git@gitee.com:liuke2/hetao.git
liuke2
hetao
hetao
release

搜索帮助