MeWan2808 commited on
Commit
5da3cde
·
verified ·
1 Parent(s): 9ad2ac7

Delete dockerfile

Browse files
Files changed (1) hide show
  1. dockerfile +0 -29
dockerfile DELETED
@@ -1,29 +0,0 @@
1
- # Use Python 3.10 slim image (smaller size)
2
- FROM python:3.10-slim
3
-
4
- # Set working directory inside container
5
- WORKDIR /app
6
-
7
- # Install system dependencies needed for OpenCV/TensorFlow
8
- RUN apt-get update && apt-get install -y \
9
- libgl1-mesa-glx \
10
- libglib2.0-0 \
11
- && rm -rf /var/lib/apt/lists/*
12
-
13
- # Copy requirements file
14
- COPY requirements.txt .
15
-
16
- # Install Python packages
17
- RUN pip install --no-cache-dir -r requirements.txt
18
-
19
- # Copy your Flask app
20
- COPY app.py .
21
-
22
- # Set environment variable for port (HF Spaces uses 7860)
23
- ENV PORT=7860
24
-
25
- # Expose the port
26
- EXPOSE 7860
27
-
28
- # Run the application with gunicorn
29
- CMD gunicorn --bind 0.0.0.0:7860 --timeout 120 --workers 1 app:app