Skip to content
Snippets Groups Projects
Commit 2f90458c authored by Maja Jablonska's avatar Maja Jablonska
Browse files

Add .def file

parent 6b0bcc72
1 merge request!46Merge COMBO 3.0 into master
Bootstrap: docker
From: python:3.9
%environment
export PYTHONPATH=.
%files
./setup.py
./combo
%post
# run dpkg (behind other tools like apt-get) without interactive dialogue
export DEBIAN_FRONTEND=noninteractive
apt-get -y update
apt-get -y install git ffmpeg virtualenv libopenmpi-dev openmpi-bin openmpi-common python3-pip python3-dev g++ gcc
# upgrade system pip, see: https://stackoverflow.com/a/49836753/7983111
apt-get -y install build-essential
python3 -m pip install --upgrade pip
# install python dependencies
#python3 -m pip install -r requirements.txt
#python3 -m pip install -r requirements_no_deps.txt --no-dependencies
python3 -m pip install .
python3 -m pip install protobuf
python3 -m spacy download en_core_web_sm
%runscript
python3 -u ./combo/main.py "$@"
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment