guille03 commited on
Commit
434586e
路
1 Parent(s): 71175ed
Files changed (2) hide show
  1. Dockerfile +6 -7
  2. requirements.txt +5 -3
Dockerfile CHANGED
@@ -1,7 +1,7 @@
1
- # Imagen base con Python
2
- FROM python:3.10-slim
3
 
4
- # Instalar R y herramientas necesarias del sistema
5
  RUN apt-get update && apt-get install -y \
6
  r-base \
7
  libcurl4-openssl-dev \
@@ -10,7 +10,6 @@ RUN apt-get update && apt-get install -y \
10
  libfontconfig1 \
11
  libfreetype6 \
12
  libpng-dev \
13
- libtiff5 \
14
  libjpeg62-turbo-dev \
15
  build-essential \
16
  fonts-dejavu \
@@ -24,14 +23,14 @@ RUN R -e "install.packages(c('ggplot2', 'dplyr', 'RColorBrewer'), repos='http://
24
  # Establecer directorio de trabajo
25
  WORKDIR /app
26
 
27
- # Copiar archivos del proyecto
28
  COPY . .
29
 
30
  # Instalar dependencias de Python
31
  RUN pip install --no-cache-dir -r requirements.txt
32
 
33
- # Exponer el puerto de Gradio (por convenci贸n)
34
  EXPOSE 7860
35
 
36
- # Ejecutar la aplicaci贸n
37
  CMD ["python", "app.py"]
 
1
+ # Imagen base m谩s completa que "slim"
2
+ FROM python:3.10
3
 
4
+ # Instalar R y dependencias del sistema
5
  RUN apt-get update && apt-get install -y \
6
  r-base \
7
  libcurl4-openssl-dev \
 
10
  libfontconfig1 \
11
  libfreetype6 \
12
  libpng-dev \
 
13
  libjpeg62-turbo-dev \
14
  build-essential \
15
  fonts-dejavu \
 
23
  # Establecer directorio de trabajo
24
  WORKDIR /app
25
 
26
+ # Copiar archivos del proyecto al contenedor
27
  COPY . .
28
 
29
  # Instalar dependencias de Python
30
  RUN pip install --no-cache-dir -r requirements.txt
31
 
32
+ # Exponer puerto t铆pico de Gradio
33
  EXPOSE 7860
34
 
35
+ # Ejecutar la app
36
  CMD ["python", "app.py"]
requirements.txt CHANGED
@@ -1,7 +1,9 @@
1
  gradio
2
- numpy
3
  pandas
 
4
  matplotlib
5
- seaborn
6
  rpy2
7
- ydata-profiling
 
 
 
 
1
  gradio
 
2
  pandas
3
+ numpy
4
  matplotlib
 
5
  rpy2
6
+ ydata-profiling
7
+ seaborn
8
+ openpyxl
9
+ pyarrow