krasnoglaziiik commited on
Commit
11fbb02
·
verified ·
1 Parent(s): 7a711fd

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +25 -0
Dockerfile ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.12
2
+
3
+ RUN apt update -y && apt upgrade -y
4
+
5
+ RUN apt install git gcc libglib2.0-0 tensorflow flax libglib2.0-dev libgl1-mesa-glx libegl1-mesa libx11-dev clang software-properties-common build-essential pkg-config cmake libopenblas-dev liblapack-dev liblapacke-dev curl -y
6
+
7
+ RUN pip3 install llvmlite flax tensorflow
8
+
9
+ RUN pip3 install --no-cache-dir numpy
10
+
11
+ ENV LD_LIBRARY_PATH="/usr/local/lib:${LD_LIBRARY_PATH}"
12
+
13
+ # RUN pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
14
+
15
+ RUN git clone https://github.com/exo-explore/exo.git
16
+
17
+ WORKDIR ./exo
18
+
19
+ RUN pip install -e .
20
+
21
+ RUN source install.sh
22
+
23
+ EXPOSE 8000
24
+
25
+ CMD ["exo"]