Skip to content

Commit

Permalink
add docker
Browse files Browse the repository at this point in the history
  • Loading branch information
tlk1997 committed Nov 27, 2021
1 parent b047b40 commit d88a5f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ DeepKE支持pip安装使用,以常规全监督设定关系抽取为例,经

**Step 1** 下载代码 ```git clone https://github.com/zjunlp/DeepKE.git```(别忘记star和fork哈!!!)

**Step 2** 使用anaconda创建虚拟环境,进入虚拟环境
**Step 2** 使用anaconda创建虚拟环境,进入虚拟环境(提供Dockerfile源码可自行创建镜像,位于docker文件夹中)

```
conda create -n deepke python=3.8
Expand Down
7 changes: 3 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM ubuntu:18.04
LABEL maintainer="Hugging Face"
LABEL repository="transformers"
LABEL maintainer="ZJUNLP"
LABEL repository="DeepKE"
ENV PYTHON_VERSION=3.8

RUN apt-get update && apt-get install -y --no-install-recommends \
Expand All @@ -25,5 +25,4 @@ RUN conda init bash

RUN cd ~ && \
git clone https://github.com/zjunlp/DeepKE.git



0 comments on commit d88a5f1

Please sign in to comment.