conda init | |
source ~/.bashrc | |
conda create -n custom python=3.10 -y | |
conda activate custom | |
pip install -r requirements-custom.txt | |
export OUTPUT=/app/custom-env/custom.tar.gz | |
conda deactivate | |
pip install conda-pack | |
conda-pack -n custom -o $OUTPUT |