Edoruin commited on
Commit
f30ec89
·
1 Parent(s): b528eb8

cmake and build-escencials error solved

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -1
Dockerfile CHANGED
@@ -1,8 +1,13 @@
1
  FROM python:3.9-slim
2
 
3
- # Instalar dependencias de sistema
4
  RUN apt-get update && apt-get install -y \
5
  git \
 
 
 
 
 
6
  && rm -rf /var/lib/apt/lists/*
7
 
8
  WORKDIR /app
@@ -12,6 +17,7 @@ COPY app/requirements.txt .
12
  RUN pip install --no-cache-dir -r requirements.txt
13
 
14
  # Descargar modelos de Face API durante el build
 
15
  RUN mkdir -p app/static/models && \
16
  apt-get update && apt-get install -y wget && \
17
  wget -P app/static/models/ \
 
1
  FROM python:3.9-slim
2
 
3
+ # Instalar dependencias de sistema (Necesarias para compilar dlib)
4
  RUN apt-get update && apt-get install -y \
5
  git \
6
+ cmake \
7
+ build-essential \
8
+ python3-dev \
9
+ libopenblas-dev \
10
+ liblapack-dev \
11
  && rm -rf /var/lib/apt/lists/*
12
 
13
  WORKDIR /app
 
17
  RUN pip install --no-cache-dir -r requirements.txt
18
 
19
  # Descargar modelos de Face API durante el build
20
+ # Nota: wget ya no es necesario instalarlo aquí si se fusionaron los comandos, pero lo mantenemos por modularidad
21
  RUN mkdir -p app/static/models && \
22
  apt-get update && apt-get install -y wget && \
23
  wget -P app/static/models/ \