itsjarvis commited on
Commit
06aa69a
·
verified ·
1 Parent(s): ec9bc30

Upload 5 files

Browse files
Files changed (2) hide show
  1. Dockerfile +2 -2
  2. requirements.txt +9 -9
Dockerfile CHANGED
@@ -1,8 +1,8 @@
1
  # SuperKart Sales Forecasting API - Docker Configuration
2
  # =====================================================
3
 
4
- # Use Python 3.9 slim image for optimal size and compatibility
5
- FROM python:3.9-slim
6
 
7
  # Set environment variables
8
  ENV PYTHONDONTWRITEBYTECODE=1
 
1
  # SuperKart Sales Forecasting API - Docker Configuration
2
  # =====================================================
3
 
4
+ # Use Python 3.11 slim image for optimal size and compatibility
5
+ FROM python:3.11-slim
6
 
7
  # Set environment variables
8
  ENV PYTHONDONTWRITEBYTECODE=1
requirements.txt CHANGED
@@ -6,30 +6,30 @@ Flask==3.0.0
6
  flask-cors==4.0.0
7
 
8
  # Machine Learning & Data Processing
9
- scikit-learn==1.6.1
10
  xgboost==2.1.4
11
  pandas==2.2.2
12
- numpy==2.0.2
13
 
14
  # Model Serialization
15
  joblib==1.4.2
16
 
17
  # Additional Utilities
18
- scipy==1.14.1
19
- matplotlib==3.10.0
20
  seaborn==0.13.2
21
 
22
  # Production Dependencies
23
- gunicorn==21.2.0
24
  werkzeug==3.0.1
25
 
26
  # Security & Monitoring
27
- python-dotenv==1.0.0
28
  requests==2.32.3
29
 
30
  # Development & Testing (optional)
31
- pytest==7.4.3
32
  pytest-flask==1.3.0
33
 
34
- # Note: These versions are compatible with the model training environment
35
- # For production deployment, ensure compatibility with your target platform
 
6
  flask-cors==4.0.0
7
 
8
  # Machine Learning & Data Processing
9
+ scikit-learn==1.5.2
10
  xgboost==2.1.4
11
  pandas==2.2.2
12
+ numpy==1.26.4
13
 
14
  # Model Serialization
15
  joblib==1.4.2
16
 
17
  # Additional Utilities
18
+ scipy==1.13.1
19
+ matplotlib==3.8.4
20
  seaborn==0.13.2
21
 
22
  # Production Dependencies
23
+ gunicorn==22.0.0
24
  werkzeug==3.0.1
25
 
26
  # Security & Monitoring
27
+ python-dotenv==1.0.1
28
  requests==2.32.3
29
 
30
  # Development & Testing (optional)
31
+ pytest==8.3.2
32
  pytest-flask==1.3.0
33
 
34
+ # Note: These versions are compatible with Python 3.11 and Hugging Face Spaces
35
+ # All packages tested for production deployment compatibility