samgis-lisa-on-zero / scripts /docker_entrypoint.sh
alessandro trinca tornidor
[ci] add the option to install the project in a 'bare metal' installation, see README.md for instructions
0c9e62a
raw
history blame
346 Bytes
#!/usr/bin/env bash
export WORKDIR="/var/task"
export XDG_CACHE_HOME="/data"
echo "FOLDERS_MAP:${FOLDERS_MAP} ..."
source ${WORKDIR}/.venv/bin/activate
which python
python --version
python ${WORKDIR}/scripts/create_folders_and_variables_if_not_exists.py
chmod +x ${WORKDIR}/scripts/entrypoint.sh
bash ${WORKDIR}/scripts/entrypoint.sh
exit 0