rahul7star commited on
Commit
22fc29e
·
verified ·
1 Parent(s): 21ef840

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -2
Dockerfile CHANGED
@@ -1,12 +1,16 @@
1
  FROM python:3.10-slim
2
- RUN apt update && apt install -y git && apt clean
 
 
 
 
3
  WORKDIR /app
4
 
5
  # Install dependencies
6
  COPY requirements.txt .
7
  RUN pip install --no-cache-dir -r requirements.txt
8
 
9
- # Copy the entire project directory (all files and folders)
10
  COPY . .
11
 
12
  # Expose the port Hugging Face Spaces expects
 
1
  FROM python:3.10-slim
2
+ RUN apt update && apt install -y \
3
+ git \
4
+ libgl1 \
5
+ libglib2.0-0 \
6
+ && apt clean
7
  WORKDIR /app
8
 
9
  # Install dependencies
10
  COPY requirements.txt .
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
13
+ # Copy the entire project directory
14
  COPY . .
15
 
16
  # Expose the port Hugging Face Spaces expects