From 03f8fac400f3624114b6c37dbfcd95e5325b17ba Mon Sep 17 00:00:00 2001 From: Newnius Date: Tue, 30 Jun 2020 20:31:01 +0800 Subject: [PATCH] update --- .idea/workspace.xml | 18 +++++++++--------- Dockerfile | 23 ----------------------- bootstrap.sh | 3 --- 3 files changed, 9 insertions(+), 35 deletions(-) delete mode 100644 Dockerfile delete mode 100755 bootstrap.sh diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 25c52fd..1e04210 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -52,12 +52,12 @@ - + - + @@ -83,8 +83,8 @@ - - + + @@ -214,7 +214,7 @@ - + @@ -259,12 +259,12 @@ - + - @@ -442,8 +442,8 @@ - - + + diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index d9a5e0b..0000000 --- a/Dockerfile +++ /dev/null @@ -1,23 +0,0 @@ -FROM tensorflow/tensorflow:1.14.0-gpu - -MAINTAINER Newnius - -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 keras - -ADD bootstrap.sh /etc/bootstrap.sh - -RUN mkdir /root/data/ -ADD serve.py /root/serve.py -ADD model_tensorflow.py /root/model_tensorflow.py - -WORKDIR /root - -CMD ["/etc/bootstrap.sh"] \ No newline at end of file diff --git a/bootstrap.sh b/bootstrap.sh deleted file mode 100755 index 6552432..0000000 --- a/bootstrap.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env bash - -python3 /root/serve.py \ No newline at end of file