MrBKM555 commited on
Commit
7ccf9a6
·
verified ·
1 Parent(s): 8586ebe

Upload Dockerfile.txt

Browse files
Files changed (1) hide show
  1. Dockerfile.txt +13 -0
Dockerfile.txt ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10-slim
2
+
3
+ WORKDIR /app
4
+
5
+ COPY requirements.txt .
6
+ RUN pip install --no-cache-dir -r requirements.txt
7
+
8
+ # Copia TODOS los archivos (incluyendo tus 8 modelos) al contenedor
9
+ COPY . .
10
+
11
+ EXPOSE 7860
12
+
13
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]