File size: 1,047 Bytes
4d55f9c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6a6bcea
 
4d55f9c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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"]