sob111 commited on
Commit
eb11b36
·
verified ·
1 Parent(s): 41fb3d9

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +13 -0
Dockerfile ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11-slim
2
+
3
+ WORKDIR /home/user/app
4
+
5
+ # Instalar dependencias
6
+ COPY requirements.txt .
7
+ RUN pip install --upgrade pip && pip install -r requirements.txt
8
+
9
+ # Copiar el resto del proyecto
10
+ COPY . .
11
+
12
+ # Comando por defecto
13
+ CMD ["python", "app.py"]