Gajendra5490 commited on
Commit
512cb42
·
verified ·
1 Parent(s): 619fe2c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -3
Dockerfile CHANGED
@@ -1,9 +1,21 @@
1
  FROM python:3.10
2
 
3
- WORKDIR /app
 
 
 
4
 
 
 
5
  COPY requirements.txt .
6
-
7
  RUN pip install --no-cache-dir -r requirements.txt
8
 
9
- CMD ["python", "app.py"]
 
 
 
 
 
 
 
 
 
1
  FROM python:3.10
2
 
3
+ # Install system dependencies
4
+ RUN apt-get update && apt-get install -y \
5
+ git git-lfs ffmpeg libsm6 libxext6 cmake rsync libgl1-mesa-glx \
6
+ && rm -rf /var/lib/apt/lists/*
7
 
8
+ # Install Python dependencies
9
+ RUN pip install --no-cache-dir --upgrade pip
10
  COPY requirements.txt .
 
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
13
+ # Set working directory
14
+ WORKDIR /app
15
+
16
+ # Set default command
17
+ CMD ["python", "app.py"] # Change "app.py" to your script's entry point
18
+
19
+
20
+
21
+