1
0
mirror of https://github.com/newnius/YAO-Dockerfiles.git synced 2025-12-16 02:26:43 +00:00

add files

This commit is contained in:
2020-05-01 16:50:08 +08:00
parent 05480f249a
commit e138080919
7 changed files with 86 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
FROM tensorflow/tensorflow:1.14.0-gpu
MAINTAINER Newnius <newnius.cn@gmail.com>
RUN apt update && \
apt install -y python3 python3-pip && \
rm -rf /var/lib/apt/lists/*
RUN apt update && \
apt install -y git vim httpie && \
rm -rf /var/lib/apt/lists/*
RUN pip3 install pandas sklearn tensorflow-gpu==1.14
ADD bootstrap.sh /etc/bootstrap.sh
RUN git clone https://code.newnius.com/newnius/yao-optimizer.git /root/yao-optimizer/
WORKDIR /root/yao-optimizer
CMD ["/etc/bootstrap.sh"]

3
yao-optimizer/dev/bootstrap.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env bash
python3 /root/serve.py