webolavo commited on
Commit
fb7fc62
·
verified ·
1 Parent(s): d809b59

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -38
Dockerfile DELETED
@@ -1,38 +0,0 @@
1
- FROM python:3.10-slim
2
-
3
- ENV PYTHONDONTWRITEBYTECODE=1 \
4
- PYTHONUNBUFFERED=1 \
5
- HF_HOME=/app/.cache/huggingface \
6
- TRANSFORMERS_CACHE=/app/.cache/huggingface \
7
- PORT=7860 \
8
- PYTHONIOENCODING=utf-8
9
-
10
- WORKDIR /app
11
-
12
- RUN apt-get update && apt-get install -y \
13
- git \
14
- wget \
15
- ffmpeg \
16
- libglib2.0-0 \
17
- libsm6 \
18
- libxext6 \
19
- libxrender-dev \
20
- libgomp1 \
21
- libgl1 \
22
- && rm -rf /var/lib/apt/lists/*
23
-
24
- COPY requirements.txt .
25
-
26
- RUN pip install --no-cache-dir --upgrade pip && \
27
- pip install --no-cache-dir -r requirements.txt
28
-
29
- COPY app.py .
30
- COPY index.html .
31
-
32
- RUN mkdir -p /app/.cache/huggingface /tmp/video_filter && \
33
- chmod -R 777 /app/.cache /tmp/video_filter
34
-
35
- EXPOSE 7860
36
-
37
- # ← تشغيل بدون buffering لرؤية الـ logs فوراً
38
- CMD ["python", "-u", "app.py"]