Dockerfile.thrift FROM python:3.9-slim as builder WORKDIR /app #COPY ../setup.py /app/setup.py #COPY ../requirements.txt /app/requirements.txt #COPY ../yt_ops_services /app/yt_ops_services #COPY ../thrift_model /app/thrift_model #COPY ../server /app/server COPY requirements.txt /app/requirements.txt # Install dependencies RUN pip install --user --no-cache-dir -r /app/requirements.txt # Install the custom package in editable mode #RUN pip install --user -e /app