mirror of
https://github.com/newnius/YAO-agent.git
synced 2025-06-06 05:21:55 +00:00
17 lines
301 B
Docker
17 lines
301 B
Docker
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"] |