FROM python:3.10-slim WORKDIR /code # පද්ධතියට අවශ්‍ය libraries install කිරීම COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # මොඩල් එක load කිරීමට අවශ්‍ය cache folder එක සෑදීම RUN mkdir -p /data/cache ENV TRANSFORMERS_CACHE=/data/cache COPY . . # Flask app එක run කිරීම CMD ["python", "app.py"]