al-nf commited on
Commit
97aceaa
·
1 Parent(s): 6d03cd2

aefuiaieun

Browse files
Files changed (2) hide show
  1. backend/Dockerfile +12 -0
  2. backend/requirements.txt +18 -0
backend/Dockerfile ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.13-slim
2
+
3
+ WORKDIR /app
4
+
5
+ COPY requirements.txt .
6
+ RUN pip install -r requirements.txt
7
+
8
+ COPY . .
9
+
10
+ EXPOSE 7860
11
+
12
+ CMD ["gunicorn", "main:app", "--bind", "0.0.0.0:7860"]
backend/requirements.txt ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ blinker==1.9.0
2
+ click==8.3.1
3
+ flask==3.1.3
4
+ flask-cors==6.0.2
5
+ gunicorn==25.1.0
6
+ itsdangerous==2.2.0
7
+ jinja2==3.1.6
8
+ joblib==1.5.3
9
+ markupsafe==3.0.3
10
+ numpy==2.4.2
11
+ nvidia-nccl-cu12==2.29.3
12
+ packaging==26.0
13
+ scikit-learn==1.8.0
14
+ scipy==1.17.1
15
+ simplekml==1.3.6
16
+ threadpoolctl==3.6.0
17
+ werkzeug==3.1.6
18
+ xgboost==3.2.0