Wind-xixi commited on
Commit
05fa6a9
·
verified ·
1 Parent(s): 4ed1092

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +19 -0
Dockerfile ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ && rm -rf /var/lib/apt/lists/* \
13
+ && git lfs install
14
+
15
+ WORKDIR /app
16
+ COPY requirements.txt /app/requirements.txt
17
+ RUN pip install -r requirements.txt
18
+ COPY . /app
19
+ CMD ["python", "app.py"]