jeffrey1963 commited on
Commit
40d91ea
·
verified ·
1 Parent(s): 9d54eb0

Upload Docker.txt

Browse files
Files changed (1) hide show
  1. Docker.txt +17 -0
Docker.txt ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10-slim
2
+
3
+ ENV DEBIAN_FRONTEND=noninteractive \
4
+ PYTHONDONTWRITEBYTECODE=1 \
5
+ PYTHONUNBUFFERED=1
6
+
7
+ RUN apt-get update && apt-get install -y --no-install-recommends \
8
+ git git-lfs ffmpeg libsm6 libxext6 libgl1 cmake rsync \
9
+ && rm -rf /var/lib/apt/lists/* \
10
+ && git lfs install
11
+
12
+ WORKDIR /home/user/app
13
+ COPY requirements.txt .
14
+ RUN pip install --no-cache-dir -r requirements.txt
15
+
16
+ COPY . .
17
+ CMD ["python", "app.py"]