MrBKM555 commited on
Commit
ab5fe06
·
verified ·
1 Parent(s): a239c03

Upload 2 files

Browse files
Files changed (2) hide show
  1. Dockerfile.txt +13 -0
  2. requirements.txt +10 -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"]
requirements.txt ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ fastapi
2
+ uvicorn
3
+ pydantic
4
+ yfinance
5
+ ta
6
+ pandas
7
+ numpy==1.26.4
8
+ scikit-learn
9
+ tensorflow-cpu
10
+ joblib