1
0
mirror of https://github.com/newnius/YAO-agent.git synced 2025-12-15 05:56:43 +00:00
This commit is contained in:
2019-03-12 16:28:04 +08:00
parent 4d9edef1fc
commit 71bd27f530
6 changed files with 169 additions and 4 deletions

17
Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
FROM nvidia/cuda:9.0-base
MAINTAINER Newnius <newnius.cn@gmail.com>
RUN apt update && \
apt install -y python3 python3-pip
RUN pip3 install docker kafka
ADD bootstrap.sh /etc/bootstrap.sh
ADD yao-agent.py /root/yao-agent.py
ADD server.py /root/server.py
WORKDIR /root
CMD ["/etc/bootstrap.sh"]