jkng77433 commited on
Commit
a1dff5c
·
verified ·
1 Parent(s): 774759f

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -25
Dockerfile DELETED
@@ -1,25 +0,0 @@
1
- FROM python:3.10-slim
2
-
3
- # Optional system deps if pandas/sklearn need them
4
- RUN apt-get update && apt-get install -y --no-install-recommends \
5
- build-essential \
6
- && rm -rf /var/lib/apt/lists/*
7
-
8
- WORKDIR /app
9
-
10
- # Install Python deps first (better layer caching)
11
- COPY requirements.txt /app/requirements.txt
12
- RUN pip install --no-cache-dir -r /app/requirements.txt
13
-
14
- # Copy app and model
15
- COPY app.py /app/app.py
16
- COPY superkart_rf_best_pipeline.joblib /app/superkart_rf_best_pipeline.joblib
17
-
18
- # Hugging Face Spaces default port
19
- ENV PORT=7860
20
- EXPOSE 7860
21
-
22
- # Start Flask app (assuming app.py runs Flask on PORT)
23
- # If you expose a Flask app named "app" via gunicorn, use the line below instead:
24
- # CMD ["gunicorn", "-w", "2", "-k", "uvicorn.workers.UvicornWorker", "app:app", "--bind", "0.0.0.0:7860"]
25
- CMD ["python", "app.py"]