add docker
This commit is contained in:
parent
b047b4073f
commit
d88a5f16e0
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue