alonb19 commited on
Commit
014db75
verified
1 Parent(s): bacc8c1

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +22 -0
Dockerfile ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9-slim
2
+
3
+ WORKDIR /app
4
+
5
+ # Instalar dependencias del sistema
6
+ RUN apt-get update && apt-get install -y \
7
+ ffmpeg \
8
+ libsndfile1 \
9
+ && rm -rf /var/lib/apt/lists/*
10
+
11
+ # Copiar archivos
12
+ COPY requirements.txt .
13
+ COPY app.py .
14
+
15
+ # Instalar dependencias de Python
16
+ RUN pip install --no-cache-dir -r requirements.txt
17
+
18
+ # Exponer puerto
19
+ EXPOSE 7860
20
+
21
+ # Comando para ejecutar la aplicaci贸n
22
+ CMD ["python", "app.py"]