Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add docker runtime for deepctr #444

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions runtime/Dockerfile.tf_114_cpu_py3
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM tensorflow/tensorflow:1.14.0-py3
WORKDIR /workspace/deepctr
COPY DeepCTR /workspace/deepctr
RUN python3 setup.py
12 changes: 12 additions & 0 deletions runtime/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# deepctr docker运行容器构建说明
为方便大家开发deepctr和使用deepctr,本人围绕构建deepctr docker运行容器开展了一些工作。
具体的docker运行容器构建命令如下:
```
sh build.sh tag
```
目前支持tag如下:
- tf_114_cpu_py3(tf-1.14 cpu版本 python3)
举例:
```
sh build.sh tf_114_cpu_py3
```
1 change: 1 addition & 0 deletions runtime/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sudo docker build -t deepctr:$1 -f ./Dockerfile.$1 ../../