Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +2 -10
Dockerfile
CHANGED
@@ -1,4 +1,3 @@
|
|
1 |
-
# Use a base Python image
|
2 |
FROM python:3.10-slim
|
3 |
|
4 |
# ✅ Hugging Face Spaces özel dizinleri ve proje klasörleri
|
@@ -8,15 +7,8 @@ ENV HF_HOME=/app/.cache \
|
|
8 |
HF_DATASETS_CACHE=/app/.cache \
|
9 |
HF_HUB_CACHE=/app/.cache
|
10 |
|
11 |
-
# ✅
|
12 |
-
COPY
|
13 |
-
COPY llm_model.py ./
|
14 |
-
COPY intent.py ./
|
15 |
-
COPY service_config.py ./
|
16 |
-
COPY core.py ./
|
17 |
-
COPY service_config.json ./
|
18 |
-
COPY controllers/ ./controllers/
|
19 |
-
COPY requirements.txt ./
|
20 |
|
21 |
# Install Python dependencies
|
22 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
|
1 |
FROM python:3.10-slim
|
2 |
|
3 |
# ✅ Hugging Face Spaces özel dizinleri ve proje klasörleri
|
|
|
7 |
HF_DATASETS_CACHE=/app/.cache \
|
8 |
HF_HUB_CACHE=/app/.cache
|
9 |
|
10 |
+
# ✅ Tüm proje klasörünü kopyala
|
11 |
+
COPY . .
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
|
13 |
# Install Python dependencies
|
14 |
RUN pip install --no-cache-dir -r requirements.txt
|