sebastianalgharaballi's picture
Update Docker
1c86bbc verified
raw
history blame contribute delete
199 Bytes
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 .