refaat9900 commited on
Commit
2b17cd6
·
verified ·
1 Parent(s): d2a4692

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -39
Dockerfile DELETED
@@ -1,39 +0,0 @@
1
- FROM python:3.12-slim
2
-
3
- WORKDIR /app
4
-
5
- # Install system dependencies needed for OpenCV / PIL / torch
6
- RUN apt-get update && apt-get install -y \
7
- libgl1-mesa-glx \
8
- libglib2.0-0 \
9
- libsm6 \
10
- libxext6 \
11
- libxrender-dev \
12
- libgomp1 \
13
- git \
14
- wget \
15
- && rm -rf /var/lib/apt/lists/*
16
-
17
- # Install Python dependencies
18
- RUN pip install --no-cache-dir \
19
- torch torchvision --index-url https://download.pytorch.org/whl/cpu
20
-
21
- RUN pip install --no-cache-dir \
22
- fastai \
23
- gradio \
24
- cloudpickle \
25
- fasttransform \
26
- pandas \
27
- Pillow
28
-
29
- # Copy app files
30
- COPY . .
31
-
32
- # Expose Gradio port
33
- EXPOSE 7860
34
-
35
- # Set environment variables for Gradio
36
- ENV GRADIO_SERVER_NAME="0.0.0.0"
37
- ENV GRADIO_SERVER_PORT=7860
38
-
39
- CMD ["python", "app.py"]