MHD011 commited on
Commit
eeb21cb
·
verified ·
1 Parent(s): ba84082

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -19
Dockerfile DELETED
@@ -1,19 +0,0 @@
1
- FROM python:3.9-slim
2
-
3
- WORKDIR /app
4
-
5
- # تثبيت التبعيات الأساسية أولاً
6
- RUN apt-get update && apt-get install -y \
7
- build-essential \
8
- && rm -rf /var/lib/apt/lists/*
9
-
10
- COPY requirements.txt .
11
- RUN pip install --no-cache-dir -r requirements.txt gunicorn==20.1.0 # تأكيد تثبيت gunicorn
12
-
13
- RUN mkdir -p /app/model_cache && chmod -R 777 /app/model_cache
14
- ENV TRANSFORMERS_CACHE=/app/model_cache
15
- ENV HF_HOME=/app/model_cache
16
-
17
- COPY . .
18
-
19
- CMD ["gunicorn", "--bind", "0.0.0.0:8080", "--timeout", "600", "app:app"]