add docker

This commit is contained in:
tlk-dsg 2021-11-27 14:46:51 +08:00
parent b047b4073f
commit d88a5f16e0
2 changed files with 4 additions and 5 deletions

View File

@ -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

View File

@ -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 \
@ -25,5 +25,4 @@ RUN conda init bash
RUN cd ~ && \
git clone https://github.com/zjunlp/DeepKE.git