Spaces:
Running
Running
Download envpack.def from ChatterjeeLab/PeptiVerse: direct link, hf CLI and curl.
- Browser
- Download file 493 Bytes
-
https://huggingface.co/spaces/ChatterjeeLab/PeptiVerse/resolve/main/envpack.def
- Command line
-
hf download hf://spaces/ChatterjeeLab/PeptiVerse/envpack.def
-
curl -L -o envpack.def https://huggingface.co/spaces/ChatterjeeLab/PeptiVerse/resolve/main/envpack.def
493 Bytes
| Bootstrap: docker | |
| From: ubuntu:22.04 | |
| %post | |
| apt-get update && apt-get install -y --no-install-recommends \ | |
| bash ca-certificates bzip2 gzip tar \ | |
| libstdc++6 libgomp1 \ | |
| && rm -rf /var/lib/apt/lists/* | |
| mkdir -p /opt/env | |
| %files | |
| pep.tar.gz /opt/env/pep.tar.gz | |
| %post | |
| cd /opt/env | |
| tar -xzf pep.tar.gz | |
| rm pep.tar.gz | |
| # conda-pack fixups | |
| /opt/env/bin/conda-unpack || true | |
| %environment | |
| export PATH=/opt/env/bin:$PATH | |
| %runscript | |
| exec "$@" | |