Skip to content

Instantly share code, notes, and snippets.

@alarictabaries
Created March 26, 2025 14:03
Show Gist options
  • Select an option

  • Save alarictabaries/65b5837dd8c76f934418ed12c47e66c7 to your computer and use it in GitHub Desktop.

Select an option

Save alarictabaries/65b5837dd8c76f934418ed12c47e66c7 to your computer and use it in GitHub Desktop.
Exo dockerfile
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