Yaron Koresh commited on
Commit
315c83c
·
verified ·
1 Parent(s): 2719d36

Update start.sh

Browse files
Files changed (1) hide show
  1. start.sh +4 -1
start.sh CHANGED
@@ -1,5 +1,8 @@
1
- #!/bin/sh
2
 
 
 
 
3
  rm -rf /var/lib/apt/lists/*
4
  apt update
5
  apt-get install -y git git-lfs ffmpeg libsm6 libxext6 cmake rsync gcc make python3-venv libgl1-mesa-glx
 
1
+ #!/bin/bash
2
 
3
+ CONDA_ENV=$(head -1 /code/environment.yml | cut -d" " -f2)
4
+ eval "$(conda shell.bash hook)"
5
+ conda activate $CONDA_ENV
6
  rm -rf /var/lib/apt/lists/*
7
  apt update
8
  apt-get install -y git git-lfs ffmpeg libsm6 libxext6 cmake rsync gcc make python3-venv libgl1-mesa-glx