VRS1503 commited on
Commit
43ff6d3
·
verified ·
1 Parent(s): de81865

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. Dockerfile +10 -9
  2. app.py +11 -0
Dockerfile CHANGED
@@ -1,15 +1,16 @@
1
 
2
- FROM python:3.11-slim-buster
3
 
4
- WORKDIR /app
5
 
6
- COPY requirements.txt ./
7
 
8
- RUN pip install --no-cache-dir --upgrade -r requirements.txt
9
- COPY app.py ./
 
10
  COPY deployment_files/SuperKart_Sales_Prediction_Model.joblib ./
11
-
12
-
13
- EXPOSE 5000
14
 
15
- CMD ["gunicorn", "--bind", "0.0.0.0:5000", "app:app"]
 
 
 
 
1
 
2
+ FROM python:3.11-slim-buster
3
 
4
+ WORKDIR /app
5
 
6
+ COPY requirements.txt ./
7
 
8
+ RUN pip install --no-cache-dir --upgrade -r requirements.txt
9
+
10
+ COPY app.py ./
11
  COPY deployment_files/SuperKart_Sales_Prediction_Model.joblib ./
 
 
 
12
 
13
+
14
+ EXPOSE 5000
15
+
16
+ CMD ["gunicorn", "--bind", "0.0.0.0:5000", "app:app"]
app.py CHANGED
@@ -37,3 +37,14 @@ def predict_sales():
37
 
38
  if __name__ == "__main__":
39
  app.run(host="0.0.0.0", port=5000,debug=True)
 
 
 
 
 
 
 
 
 
 
 
 
37
 
38
  if __name__ == "__main__":
39
  app.run(host="0.0.0.0", port=5000,debug=True)
40
+
41
+
42
+
43
+
44
+
45
+
46
+
47
+
48
+
49
+
50
+