File size: 522 Bytes
223aff6 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# sudo su
conda create -n dl python=3.9 -y
conda init bash
bash
conda activate dl
export POETRY_VERSION=1.3.1
export DEBIAN_FRONTEND=noninteractive && \
sudo apt-get update && \
sudo apt-get install cmake build-essential -y --no-install-recommends && \
pip install poetry==$POETRY_VERSION
poetry export -f requirements.txt -o requirements.txt --without dev --without test --without-hashes && \
pip install --upgrade pip && \
pip install -r requirements.txt
function run{
python -m app.main
} |