krasnoglaziiik commited on
Commit
4d55f9c
·
verified ·
1 Parent(s): 34a8d3c

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +45 -0
Dockerfile ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.12-slim
2
+
3
+ RUN apt update -y && apt upgrade -y
4
+
5
+ RUN apt install git gcc libglib2.0-0 libglib2.0-dev libgl1-mesa-glx libegl1-mesa libx11-dev clang -y
6
+
7
+ RUN apt install -y software-properties-common build-essential pkg-config cmake libopenblas-dev liblapack-dev liblapacke-dev curl
8
+
9
+ RUN pip3 install llvmlite flax tensorflow
10
+
11
+ RUN pip3 install --no-cache-dir numpy
12
+
13
+ #ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/x86_64-linux-gnu/
14
+
15
+ ENV LD_LIBRARY_PATH="/usr/local/lib:${LD_LIBRARY_PATH}"
16
+
17
+ # RUN pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
18
+
19
+ ##FROM python:3.12-alpine3.20
20
+
21
+ ##RUN apk add git
22
+
23
+ RUN git clone https://github.com/exo-explore/exo.git
24
+
25
+ #RUN pip install --upgrade pip
26
+
27
+ #RUN pip install distutils
28
+
29
+ WORKDIR ./exo
30
+
31
+ RUN pip install --no-cache-dir .
32
+
33
+ #RUN pip install -e .
34
+
35
+ # RUN apt install libgl1-mesa-glx libegl1-mesa libx11-dev -y
36
+
37
+ # RUN apt install libglib2.0-0 libglib2.0-dev -y
38
+
39
+ # RUN apt install -y clang
40
+
41
+ #RUN pip3 install llvmlite
42
+
43
+ #RUN source install.sh
44
+
45
+ CMD ["exo"]