FROM python:3.10-slim WORKDIR /embeddings # Install dependencies RUN pip install sentence-transformers \ numpy \ transformers \ torch # Copy code COPY encoder.py . COPY embeddings.py .