ciyidogan's picture
Update Dockerfile
4ec9b82 verified
raw
history blame contribute delete
546 Bytes
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"]