1
0
mirror of https://github.com/newnius/YAO-optimizer.git synced 2025-06-07 15:11:56 +00:00
YAO-optimizer/Dockerfile

23 lines
496 B
Docker
Raw Normal View History

2020-04-29 16:32:41 +00:00
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/*
2020-05-01 18:21:28 +00:00
RUN pip3 install pandas sklearn tensorflow-gpu==1.14 keras
2020-04-29 16:32:41 +00:00
ADD bootstrap.sh /etc/bootstrap.sh
2020-05-01 08:43:41 +00:00
RUN mkdir /root/data/
ADD serve.py /root/serve.py
ADD model_tensorflow.py /root/model_tensorflow.py
2020-04-29 16:32:41 +00:00
WORKDIR /root
CMD ["/etc/bootstrap.sh"]