Govams commited on
Commit
d3589d7
·
verified ·
1 Parent(s): 4593416

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -7
Dockerfile CHANGED
@@ -1,7 +1,8 @@
1
- FROM python:3.13.5-slim
2
 
3
  WORKDIR /app
4
 
 
5
  RUN apt-get update && apt-get install -y \
6
  libgl1 \
7
  libglib2.0-0 \
@@ -10,15 +11,12 @@ RUN apt-get update && apt-get install -y \
10
  git \
11
  && rm -rf /var/lib/apt/lists/*
12
 
 
 
13
 
14
- COPY requirements.txt ./
15
  COPY . .
16
 
17
-
18
- RUN pip3 install -r requirements.txt
19
-
20
  EXPOSE 8501
21
 
22
- HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
23
-
24
  ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
 
 
1
+ FROM python:3.13-slim
2
 
3
  WORKDIR /app
4
 
5
+ # System dependencies for OpenCV / DeepFace
6
  RUN apt-get update && apt-get install -y \
7
  libgl1 \
8
  libglib2.0-0 \
 
11
  git \
12
  && rm -rf /var/lib/apt/lists/*
13
 
14
+ COPY requirements.txt .
15
+ RUN pip install --no-cache-dir -r requirements.txt
16
 
 
17
  COPY . .
18
 
 
 
 
19
  EXPOSE 8501
20
 
 
 
21
  ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
22
+