orpatashnik commited on
Commit
dedde98
·
1 Parent(s): 73bdfed

update base docker image

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -20
Dockerfile CHANGED
@@ -1,27 +1,10 @@
1
- # Base image with Python
2
- FROM python:3.10-slim
3
 
4
- # Install system dependencies required by dlib and others
5
- RUN apt-get update && apt-get install -y \
6
- cmake \
7
- build-essential \
8
- libopenblas-dev \
9
- liblapack-dev \
10
- libx11-dev \
11
- libgtk-3-dev \
12
- wget \
13
- && rm -rf /var/lib/apt/lists/*
14
-
15
- # Set working directory
16
  WORKDIR /app
17
 
18
- # Copy requirement file and install Python dependencies
19
  COPY requirements.txt .
20
- RUN pip install --upgrade pip
21
- RUN pip install -r requirements.txt
22
 
23
- # Copy the rest of the app
24
  COPY . .
25
-
26
- # Run the app (update this to your actual entry point)
27
  CMD ["python", "-m", "gradio", "app"]
 
1
+ FROM yogi0421/dlib-base-image:python38-dlib19.24.0
 
2
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  WORKDIR /app
4
 
 
5
  COPY requirements.txt .
6
+ RUN pip install --upgrade pip \
7
+ && pip install -r requirements.txt
8
 
 
9
  COPY . .
 
 
10
  CMD ["python", "-m", "gradio", "app"]