1 Star 0 Fork 111

IT-work/CookIM

forked from cookeem/CookIM 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Dockerfile_k8s 626 Bytes
一键复制 编辑 原始数据 按行查看 历史
cookeem 提交于 2017-06-15 16:27 . Support deploy to kubernetes
# Notice! Don't use openjdk:latest docker image, it's too big and will build fail in docker:DinD
FROM k8s-registry:5000/openjdk:alpine
MAINTAINER [email protected]
RUN mkdir -p /root/cookim/
ADD cookim.jar /root/cookim/
ADD conf /root/cookim/conf
ADD www /root/cookim/www
WORKDIR /root/cookim
RUN echo '#!/bin/ash' >> /root/cookim/run.sh
RUN echo 'java -classpath "/root/cookim/cookim.jar" com.cookeem.chat.CookIM -n -h $(hostname -f) -w $WEB_PORT -a $AKKA_PORT -s $SEED_NODES' >> /root/cookim/run.sh
RUN chmod a+x /root/cookim/run.sh
CMD [ "/root/cookim/run.sh" ]
# sbt clean assembly
# docker build -t cookeem/cookim .
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Scala
1
https://gitee.com/liuzhongxi/CookIM.git
[email protected]:liuzhongxi/CookIM.git
liuzhongxi
CookIM
CookIM
master

搜索帮助