Skip to content
Snippets Groups Projects
Select Git revision
  • 2f341a5d6a1c06801ee42a2708e3e440eeb8a63b
  • master default protected
  • exec_auto_adjust_trace
  • let_variables
  • v1.4.1
  • v1.4.0
  • v1.3.0
  • v1.2.0
  • v1.1.0
  • v1.0.0
10 results

build.gradle

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    Dockerfile 601 B
    # syntax=docker/dockerfile:1
    
    FROM nvidia/cuda:11.2.2-cudnn8-devel-ubuntu20.04
    LABEL maintainer="convlab"
    
    ENV DEBIAN_FRONTEND noninteractive
    RUN apt-get update
    RUN apt-get install -y python3.8 python3-pip build-essential
    RUN pip install --no-cache-dir --upgrade pip
    
    WORKDIR /root
    
    COPY requirements.txt .
    RUN pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
    RUN [ "python3", "-c", "import nltk; nltk.download('stopwords'); nltk.download('punkt'); nltk.download('wordnet')" ]
    
    COPY . .
    RUN pip install -e .
    
    RUN ln -f -s /usr/bin/python3 /usr/bin/python
    
    CMD ["/bin/bash"]