Skip to content
Snippets Groups Projects
Select Git revision
  • f867305cb3cd6f13b1b4c882afa74cabc489214d
  • main default protected
  • change_data_model
  • feature/add_auth_asr_service
  • fix/incorrect_import
  • feature/change_registry_clarin
  • feature/add_base_asr_service
  • feature/add_poetry
  • feature/add_word_ids
  • feature/add_sziszapangma
10 results

Dockerfile

Blame
  • Dockerfile 1.34 KiB
    FROM nvidia/cuda:11.1.1-devel-ubuntu20.04
    WORKDIR /app
    
    RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata  \
        && apt-get install -y software-properties-common curl
    RUN add-apt-repository ppa:deadsnakes/ppa && apt-get update && apt-get install -y python3.8 python3-pip ffmpeg
    RUN alias python='python3' && alias pip='pip3' && pip install poetry
    
    ADD poetry.lock ./
    ADD pyproject.toml ./
    ADD README.rst ./
    ADD sziszapangma/ sziszapangma/
    ADD experiment/ experiment/
    ADD new_datasets/ new_datasets/
    
    RUN ls -l
    
    #RUN #poetry config virtualenvs.create false --local
    
    RUN poetry install
    
    RUN poetry run python -m spacy download de_core_news_lg
    RUN poetry run python -m spacy download pl_core_news_lg
    RUN poetry run python -m spacy download en_core_web_lg
    RUN poetry run python -m spacy download it_core_news_lg
    RUN poetry run python -m spacy download nl_core_news_lg
    RUN poetry run python -m spacy download sp_core_news_lg
    RUN poetry run python -m spacy download es_core_news_lg
    
    poetry run python -m spacy download de_core_news_lg
    poetry run python -m spacy download pl_core_news_lg
    poetry run python -m spacy download en_core_web_lg
    poetry run python -m spacy download it_core_news_lg
    poetry run python -m spacy download nl_core_news_lg
    poetry run python -m spacy download sp_core_news_lg
    poetry run python -m spacy download es_core_news_lg