File size: 546 Bytes
6734e84
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM python:3.10-slim

WORKDIR /app

# Sistem araçları
RUN apt-get update && apt-get install -y git unzip && apt-get clean

# Hugging Face cache klasörleri ve yazma izinleri
RUN mkdir -p /app/.cache /app/output /app/extracted && chmod -R 777 /app

ENV HF_HOME=/app/.cache \
    HF_DATASETS_CACHE=/app/.cache \
    HF_HUB_CACHE=/app/.cache \
    OUTPUT_DIR=/app/output

COPY requirements.txt ./
RUN pip install --upgrade pip && pip install -r requirements.txt

COPY fine_tune_inference_test.py ./

CMD ["python", "fine_tune_inference_test.py"]