FROM python:3.12-slim RUN apt update -y && apt upgrade -y RUN apt install git gcc libglib2.0-0 libglib2.0-dev libgl1-mesa-glx libegl1-mesa libx11-dev clang -y RUN apt install -y software-properties-common build-essential pkg-config cmake libopenblas-dev liblapack-dev liblapacke-dev curl RUN pip3 install llvmlite flax tensorflow RUN pip3 install --no-cache-dir numpy #ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/x86_64-linux-gnu/ ENV LD_LIBRARY_PATH="/usr/local/lib:${LD_LIBRARY_PATH}" # RUN pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu ##FROM python:3.12-alpine3.20 ##RUN apk add git RUN git clone https://github.com/exo-explore/exo.git #RUN pip install --upgrade pip #RUN pip install distutils WORKDIR ./exo RUN pip install --no-cache-dir . #RUN pip install -e . # RUN apt install libgl1-mesa-glx libegl1-mesa libx11-dev -y # RUN apt install libglib2.0-0 libglib2.0-dev -y # RUN apt install -y clang #RUN pip3 install llvmlite #RUN source install.sh EXPOSE 8000 CMD ["exo"]