Created
March 26, 2025 14:03
-
-
Save alarictabaries/65b5837dd8c76f934418ed12c47e66c7 to your computer and use it in GitHub Desktop.
Exo dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM nvidia/cuda:12.8.1-cudnn-devel-ubuntu22.04 | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| software-properties-common \ | |
| curl \ | |
| git \ | |
| clang \ | |
| libgl1 \ | |
| libglib2.0-0 \ | |
| bash \ | |
| ca-certificates \ | |
| gnupg \ | |
| lsb-release \ | |
| && rm -rf /var/lib/apt/lists/* | |
| RUN add-apt-repository ppa:deadsnakes/ppa -y && \ | |
| apt-get update && \ | |
| apt-get install -y --no-install-recommends \ | |
| python3.12 \ | |
| python3.12-venv \ | |
| && rm -rf /var/lib/apt/lists/* | |
| RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python3.12 | |
| RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 1 | |
| SHELL ["/bin/bash", "-c"] | |
| WORKDIR /app | |
| RUN git clone https://github.com/exo-explore/exo.git | |
| WORKDIR /app/exo | |
| RUN python3 -m venv .venv && \ | |
| source .venv/bin/activate && \ | |
| pip install --upgrade pip && \ | |
| chmod +x install.sh && \ | |
| ./install.sh | |
| ENV PATH="/app/exo/.venv/bin:$PATH" | |
| EXPOSE 52415 | |
| CMD ["/bin/bash"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment