davda54 commited on
Commit
304cdf5
·
verified ·
1 Parent(s): 30a7253

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +23 -0
Dockerfile ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10
2
+
3
+ RUN apt-get update && apt-get install -y
4
+ git
5
+ git-lfs
6
+ ffmpeg
7
+ libsm6
8
+ libxext6
9
+ cmake
10
+ rsync
11
+ libgl1
12
+ libegl1
13
+ libopengl0
14
+ && rm -rf /var/lib/apt/lists/*
15
+ && git lfs install
16
+
17
+ WORKDIR /home/user/app
18
+
19
+ COPY . .
20
+
21
+ RUN pip install --no-cache-dir -r requirements.txt
22
+
23
+ CMD [“python”, “app.py”]