sebastianalgharaballi
commited on
Upload Docker
Browse files
Docker
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.10-slim
|
2 |
+
|
3 |
+
WORKDIR /embeddings
|
4 |
+
|
5 |
+
# Install dependencies
|
6 |
+
RUN pip install sentence-transformers \
|
7 |
+
numpy \
|
8 |
+
transformers \
|
9 |
+
torch
|
10 |
+
|
11 |
+
# Copy your code
|
12 |
+
COPY encoder.py .
|
13 |
+
COPY embeddings.py .
|