Skip to content
Snippets Groups Projects
Select Git revision
  • f48c40ebe36f90c145b901fa36f904728d45479b
  • master default protected
  • emoUS
  • add_default_vectorizer_and_pretrained_loading
  • clean_code
  • readme
  • issue127
  • generalized_action_dicts
  • ppo_num_dialogues
  • crossowoz_ddpt
  • issue_114
  • robust_masking_feature
  • scgpt_exp
  • e2e-soloist
  • convlab_exp
  • change_system_act_in_env
  • pre-training
  • nlg-scgpt
  • remapping_actions
  • soloist
20 results

Dockerfile

Blame
  • user avatar
    zqwerty authored
    0532f3dd
    History
    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"]