geronimo-pericoli commited on
Commit
e6f9748
·
verified ·
1 Parent(s): 76752cb

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -13
Dockerfile CHANGED
@@ -1,20 +1,7 @@
1
- # Usar una imagen base de Python 3.10 o superior
2
  FROM python:3.10-slim
3
-
4
  WORKDIR /app
5
-
6
- # Instala solo las dependencias mínimas necesarias
7
- RUN apt-get update && apt-get install -y --no-install-recommends \
8
- libgl1 && \
9
- rm -rf /var/lib/apt/lists/*
10
-
11
  COPY requirements.txt .
12
-
13
- # Instala dependencias (asegúrate que gradio está en requirements.txt)
14
  RUN pip install --no-cache-dir -r requirements.txt
15
-
16
  COPY . .
17
-
18
  EXPOSE 7860
19
-
20
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
 
1
  FROM python:3.10-slim
 
2
  WORKDIR /app
 
 
 
 
 
 
3
  COPY requirements.txt .
 
 
4
  RUN pip install --no-cache-dir -r requirements.txt
 
5
  COPY . .
 
6
  EXPOSE 7860
 
7
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]